bug fix
This commit is contained in:
parent
dd7f3b608a
commit
38342e0e64
@ -6,7 +6,6 @@ minetest.register_chatcommand("heal", {
|
|||||||
local player = minetest.get_player_by_name(name)
|
local player = minetest.get_player_by_name(name)
|
||||||
thirst.set_player_thirst(name, 20)
|
thirst.set_player_thirst(name, 20)
|
||||||
hbhunger.heal(player)
|
hbhunger.heal(player)
|
||||||
inv = player:get_inventory()
|
|
||||||
player:set_hp(20)
|
player:set_hp(20)
|
||||||
player:set_breath(11)
|
player:set_breath(11)
|
||||||
return true, "You have been healed!"
|
return true, "You have been healed!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user