From 9ef57692ba01400c9027855612e619c1f8804773 Mon Sep 17 00:00:00 2001 From: Brandon Date: Sun, 26 Jul 2020 07:48:40 -0400 Subject: [PATCH] A little more code cleanup --- mods/ITEMS/mcl_potions/functions.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mods/ITEMS/mcl_potions/functions.lua b/mods/ITEMS/mcl_potions/functions.lua index 5e8e635c1..dab87f506 100644 --- a/mods/ITEMS/mcl_potions/functions.lua +++ b/mods/ITEMS/mcl_potions/functions.lua @@ -440,8 +440,6 @@ function mcl_potions.healing_func(player, hp) obj.health = math.max(obj.health + hp, obj.hp_max) elseif player:is_player() then player:set_hp(math.min(player:get_hp() + hp, player:get_properties().hp_max), { type = "set_hp", other = "healing" }) - else - return end else @@ -450,8 +448,6 @@ function mcl_potions.healing_func(player, hp) obj.health = obj.health + hp elseif player:is_player() then player:set_hp(player:get_hp() + hp, { type = "punch", other = "harming" }) - else - return end end