diff --git a/mods/default/functions.lua b/mods/default/functions.lua index e13a7932..1f84efcd 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -314,6 +314,7 @@ function default.dig_up(pos, node, digger, max_height) in_dig_up = false end +-- errors are hard to handle, instead we rely on resetting this value the next step minetest.register_globalstep(function() in_dig_up = false end)