From 8894700b0a4fab1d4a3893196b78a8c4061c0d73 Mon Sep 17 00:00:00 2001 From: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com> Date: Sat, 12 Sep 2026 12:26:13 +0200 Subject: [PATCH] fix: return nil instead of index when excluding forms from unshifting --- HealBot_Controller_Spells.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HealBot_Controller_Spells.lua b/HealBot_Controller_Spells.lua index 7941616..b248a76 100644 --- a/HealBot_Controller_Spells.lua +++ b/HealBot_Controller_Spells.lua @@ -873,7 +873,7 @@ function HealBot_GetShapeshiftForm() local icon_lower = string.lower(icon) -- Exclude non-standard/custom forms like Tree of Life from unshifting if not string.find(icon_lower, "humanoidform") and not string.find(icon_lower, "treeoflife") and not string.find(icon_lower, "healingway") and not string.find(icon_lower, "stoneclawtotem") then - return i; + return nil; end else return i;