Comment for is_fake_player

This commit is contained in:
Wuzzy 2016-10-29 20:56:05 +02:00
parent b0ac4c3765
commit edc2034647

View File

@ -438,6 +438,7 @@ end
-- player-action based hunger changes
function hbhunger.handle_node_actions(pos, oldnode, player, ext)
-- is_fake_player comes from the pipeworks, we are not interested in those
if not player or not player:is_player() or player.is_fake_player == true then
return
end