This commit is contained in:
discon-nected 2019-04-09 07:12:24 +12:00 committed by GitHub
parent dd7f3b608a
commit 38342e0e64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!"