add compatibility fix for #296

This commit is contained in:
OgelGames 2022-12-13 13:07:51 +11:00
parent 1546aa01ee
commit 0173629ca5

View File

@ -110,7 +110,7 @@ end
local function do_digging(pos, meta, net_time)
local us_start = minetest.get_us_time()
local step = tonumber(meta:get("step"))
local step = tonumber(meta:get("step") or "")
if not step then
-- Missing metadata or not yet updated by conversion LBM, abort digging
return