mirror of
git://repo.or.cz/minetest_hbhunger.git
synced 2024-12-23 00:20:16 +01:00
Ignore fake players from pipeworks mod
This commit is contained in:
parent
e4d74685f6
commit
bd343a1643
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user