added later:
so is it player.is_player() OR minetest.is_player() ???
easy fact: used player.is_player() sometimes deliver false, even player is still online !
result now: in this case Health, Hunger, whatever will not be updated ... not that lost
player : several, I have no proof about their client, but
[mod] better hud
in function "function hud.change_item(player, name, def)" (line 122)
following if line 123-125 ...
Code: Select all
if not player or not player:is_player() or not name or not def then
throw_error("Not enough parameters given to change HUD item")
return false
This happen at 3 gamer now, one I had to ban as he crashed the server then every login, with also this warning.
So WHAT values of the "player", "player:is_player" or/and "not name" and "not def" might trigger the if to true ... as I never saw this warning before
gamer logins are:
with crash : Pro1234 (before stopped by no_guests), also as GeeQ (crashing) or GGgaming
no crash: obs
--> as the names itself are "normal"