You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2020-05-23 12:08:12: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod 'afkkick' in callback environment_Step(): /data/world//worldmods/mesecons/mesecons/presets.lua:67: attempt to index local 'dir' (a nil value)
2020-05-23 12:08:12: ERROR[Main]: stack traceback:
2020-05-23 12:08:12: ERROR[Main]: /data/world//worldmods/mesecons/mesecons/presets.lua:67: in function 'get_any_inputrules'
2020-05-23 12:08:12: ERROR[Main]: /data/world//worldmods/mesecons/mesecons/internal.lua:95: in function 'get_any_rules'
2020-05-23 12:08:12: ERROR[Main]: /data/world//worldmods/mesecons/mesecons_wires/init.lua:81: in function </data/world//worldmods/mesecons/mesecons_wires/init.lua:67>
2020-05-23 12:08:12: ERROR[Main]: /data/world//worldmods/mesecons/mesecons/actionqueue.lua:137: in function 'old_execute'
2020-05-23 12:08:12: ERROR[Main]: /data/world//worldmods/mesecons_debug/overrides.lua:7: in function 'f'
2020-05-23 12:08:12: ERROR[Main]: .../worldmods/monitoring/monitoring/metrictypes/counter.lua:46: in function 'execute'
2020-05-23 12:08:12: ERROR[Main]: /data/world//worldmods/mesecons/mesecons/actionqueue.lua:111: in function </data/world//worldmods/mesecons/mesecons/actionqueue.lua:73>
2020-05-23 12:08:12: ERROR[Main]: /usr/local/share/minetest/builtin/game/register.lua:429: in function </usr/local/share/minetest/builtin/game/register.lua:413>
2020-05-23 12:08:12: ERROR[Main]: stack traceback:
The text was updated successfully, but these errors were encountered:
diff --git a/mesecons/presets.lua b/mesecons/presets.lua
index e10dd36..64f2bff 100644
--- a/mesecons/presets.lua+++ b/mesecons/presets.lua@@ -74,6 +74,7 @@ end
mesecon.rules.wallmounted_get = function(node)
local dir = minetest.wallmounted_to_dir(node.param2)
+ if not dir then return {} end
return rules_from_dir(rules_wallmounted, dir)
end
The text was updated successfully, but these errors were encountered: