turtle-wow: fix error when auto-dismount is not enabled

This commit is contained in:
Lukáš
2024-03-03 02:34:07 +01:00
committed by GitHub
parent 4000b0ec96
commit badbbb84f1
+3 -1
View File
@@ -60,7 +60,9 @@ module.enable = function(self)
ShaguTweaks.SellValueDB = selldata
-- add tree of life druid form to autoshift
table.insert(ShaguTweaks.dismount.shapeshifts, "ability_druid_treeoflife")
if ShaguTweaks.dismount then
table.insert(ShaguTweaks.dismount.shapeshifts, "ability_druid_treeoflife")
end
end
-- Turtle WoW specific libdebuff patches