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.
|
||||
else
|
||||
-- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user