Merge pull request #10 from discon-nected/master

bug fix
This commit is contained in:
Gerold55 2019-04-08 15:13:08 -04:00 committed by GitHub
commit e05dd3e066
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)
thirst.set_player_thirst(name, 20)
hbhunger.heal(player)
inv = player:get_inventory()
player:set_hp(20)
player:set_breath(11)
return true, "You have been healed!"