remove debug logging
parent
c97fc42b68
commit
f1c60a48e0
|
@ -19,9 +19,7 @@ local function get_far_node(pos, itemstack) --code from minetest dev wiki: https
|
||||||
itemstack:get_meta():set_string("last_forceload", tostring(os.time(os.date("!*t"))))
|
itemstack:get_meta():set_string("last_forceload", tostring(os.time(os.date("!*t"))))
|
||||||
minetest.get_voxel_manip():read_from_map(pos, pos)
|
minetest.get_voxel_manip():read_from_map(pos, pos)
|
||||||
node = minetest.get_node(pos)
|
node = minetest.get_node(pos)
|
||||||
minetest.log("forceloaded, cooldown reset!")
|
|
||||||
else
|
else
|
||||||
minetest.log("cooldown not over yet")
|
|
||||||
node = {name="mcl_compass:lodestone"} --cooldown not over yet, pretend like there is something...
|
node = {name="mcl_compass:lodestone"} --cooldown not over yet, pretend like there is something...
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue