forked from ThomasMonroe314/ugxrealms
[server_essentials] restore hunger in godmode
This commit is contained in:
parent
92ceae12e2
commit
6836e1722d
@ -372,6 +372,7 @@ minetest.register_globalstep(function(dtime)
|
||||
if players[player_name]["god_mode"] then
|
||||
player:set_hp(20)
|
||||
player:set_breath(11)
|
||||
player:update_hunger(player, 30)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user