From edc2034647353a480c615d1b715c67fe4be534ab Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 29 Oct 2016 20:56:05 +0200 Subject: [PATCH] Comment for is_fake_player --- hunger.lua | 1 + 1 file changed, 1 insertion(+) 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