1
0
mirror of git://repo.or.cz/minetest_hbhunger.git synced 2024-11-15 23:00:34 +01:00

Ignore fake players from pipeworks mod

This commit is contained in:
Wuzzy 2016-10-29 20:42:09 +02:00
parent e4d74685f6
commit bd343a1643

View File

@ -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()