mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Refine hand error logging
This commit is contained in:
parent
ae74eb3b33
commit
f95bf371d2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue