Issuing on_pre_player_mined_item from mod

Place to get help with not working mods / modding interface.
Post Reply
Roang
Inserter
Inserter
Posts: 27
Joined: Tue Aug 22, 2017 12:38 pm
Contact:

Issuing on_pre_player_mined_item from mod

Post by Roang »

In the Upgrade Planner Mod I maintain the code raises an

Code: Select all

on_pre_player_mined_item 
event before trying to replace entities. (https://github.com/Roang-zero1/upgrade- ... e.lua#L166)

Since the Version .18.27 this is no longer supported. Is there another way to raise the event or should I forgo raising the event in the script as this would be triggered when replacintg the entity?

Post Reply

Return to “Modding help”