aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/interrupt.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_luaautomation/interrupt.lua')
-rw-r--r--advtrains_luaautomation/interrupt.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains_luaautomation/interrupt.lua b/advtrains_luaautomation/interrupt.lua
index 718b8c7..525c3b4 100644
--- a/advtrains_luaautomation/interrupt.lua
+++ b/advtrains_luaautomation/interrupt.lua
@@ -34,6 +34,8 @@ function iq.mainloop(dtime)
local ndef=minetest.registered_nodes[node.name]
if ndef and ndef.luaautomation and ndef.luaautomation.fire_event then
ndef.luaautomation.fire_event(pos, evtdata)
+ else
+ atwarn("[atlatc][interrupt] Couldn't run event",evtdata.type,"on",pos,", something wrong with the node",node)
end
table.remove(queue, i)
i=i-1