Ignore fake players from pipeworks mod

This commit is contained in:
Wuzzy 2016-10-29 20:42:09 +02:00
parent e4d74685f6
commit bd343a1643
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ end
-- player-action based hunger changes
function hbhunger.handle_node_actions(pos, oldnode, player, ext)
if not player or not player:is_player() then
if not player or not player:is_player() or player.is_fake_player == true then
return
end
local name = player:get_player_name()