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