1
0
Fork 0

Refine hand error logging

This commit is contained in:
Wuzzy 2017-09-02 19:00:04 +02:00
parent ae74eb3b33
commit f95bf371d2
1 changed files with 1 additions and 1 deletions

View File

@ -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