turtle-wow: fallback to empty custom cast string

This commit is contained in:
shagu
2025-04-09 21:34:38 +02:00
parent 73ced8bb0c
commit aba154acbd
+1 -1
View File
@@ -191,7 +191,7 @@ pfUI:RegisterModule("turtle-wow", "vanilla", function ()
-- add locales
pfUI_locale["enUS"]["customcast"]["TRUESHOT"] = "Steady Shot"
pfUI_locale["zhCN"]["customcast"]["TRUESHOT"] = "稳固射击"
local trueshot = L["customcast"]["TRUESHOT"]
local trueshot = L["customcast"]["TRUESHOT"] or ""
libcast.customcast[strlower(trueshot)] = function(begin, duration)
if begin then