From 0dab776c6797b6f9abebd2861cdec046d321c673 Mon Sep 17 00:00:00 2001 From: 1F616EMO~nya Date: Sun, 1 Sep 2024 18:40:09 +0800 Subject: [PATCH] The holy comments Co-authored-by: sfan5 --- mods/default/functions.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/default/functions.lua b/mods/default/functions.lua index e13a793284..1f84efcdc7 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)