forked from Mineclonia/Mineclonia
Refine hand error logging
This commit is contained in:
parent
ae74eb3b33
commit
f95bf371d2
|
@ -81,7 +81,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
-- If this happens, itemstring was "" (=hand). This is always a bug, the hand must never drop as item.
|
-- If this happens, itemstring was "" (=hand). This is always a bug, the hand must never drop as item.
|
||||||
else
|
else
|
||||||
-- Scream this to the error log because this is bad.
|
-- Scream this to the error log because this is bad.
|
||||||
minetest.log("error", "Player "..player:get_player_name().." collected a hand at "..minetest.pos_to_string(object:getpos()).."!")
|
minetest.log("error", "Player "..player:get_player_name().." collected a hand at "..minetest.pos_to_string(object:getpos()).." (age="..object:get_luaentity().age..")!")
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue