diff --git a/mods/ws_core/chatcommands.lua b/mods/ws_core/chatcommands.lua index 93950ed..0a4f164 100644 --- a/mods/ws_core/chatcommands.lua +++ b/mods/ws_core/chatcommands.lua @@ -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!"