summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hunger.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/hunger.lua b/hunger.lua
index 62c32eb..804393c 100644
--- a/hunger.lua
+++ b/hunger.lua
@@ -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()