mirror of
git://repo.or.cz/minetest_hbhunger.git
synced 2024-12-23 08:20:20 +01:00
Comment for is_fake_player
This commit is contained in:
parent
b0ac4c3765
commit
edc2034647
@ -438,6 +438,7 @@ end
|
|||||||
|
|
||||||
-- player-action based hunger changes
|
-- player-action based hunger changes
|
||||||
function hbhunger.handle_node_actions(pos, oldnode, player, ext)
|
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
|
if not player or not player:is_player() or player.is_fake_player == true then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user