diff options
author | Wuzzy <almikes@aol.com> | 2016-10-29 20:42:09 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-10-29 20:42:09 +0200 |
commit | bd343a1643ed86bc8f7109eb24c258b5eed8a2d3 (patch) | |
tree | fc34c83a7e4ae619f41c1605d044d9192a12f3f4 | |
parent | e4d74685f61fba3ed6cf0a2f8e6c759334e5ecf8 (diff) |
Ignore fake players from pipeworks mod
-rw-r--r-- | hunger.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |