summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-10-29 20:56:05 +0200
committerWuzzy <almikes@aol.com>2016-10-29 20:56:05 +0200
commitedc2034647353a480c615d1b715c67fe4be534ab (patch)
tree4a7ff4f62c9ddac29c74e8ad40787128dba2ed8d
parentb0ac4c3765596d4aa4322f196ff92ecbd381bd95 (diff)
Comment for is_fake_player
-rw-r--r--hunger.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/hunger.lua b/hunger.lua
index 804393c..dce52c0 100644
--- a/hunger.lua
+++ b/hunger.lua
@@ -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