From 2ca2f25e589f4621f7f7bacf98b7758f0e82a36c Mon Sep 17 00:00:00 2001 From: Brandon Date: Sat, 1 Aug 2020 08:39:50 -0400 Subject: [PATCH] Correct tooltip for healing/harming potions --- mods/ITEMS/mcl_potions/potions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_potions/potions.lua b/mods/ITEMS/mcl_potions/potions.lua index 402b9a1d4..43e7e94b2 100644 --- a/mods/ITEMS/mcl_potions/potions.lua +++ b/mods/ITEMS/mcl_potions/potions.lua @@ -69,7 +69,7 @@ local function register_potion(def) _tt = "1/2 Heart/"..effect.."sec | "..time_string(dur) end elseif def.name == "healing" or def.name == "harming" then - _tt = (effect / 2).." Hearts" + _tt = ((effect / 2) - ((effect / 2)% 0.5)).." Hearts" else _tt = tt or time_string(dur) or S("No effect") end