diff options
Diffstat (limited to 'advtrains/advtrains_luaautomation/active_common.lua')
-rw-r--r-- | advtrains/advtrains_luaautomation/active_common.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/advtrains_luaautomation/active_common.lua b/advtrains/advtrains_luaautomation/active_common.lua index 0351c85..0b13a51 100644 --- a/advtrains/advtrains_luaautomation/active_common.lua +++ b/advtrains/advtrains_luaautomation/active_common.lua @@ -96,7 +96,7 @@ function ac.run_in_env(pos, evtdata, customfct_p) end local meta - if minetest.get_node(pos) then + if minetest.get_node_or_nil(pos) then meta=minetest.get_meta(pos) end |