diff --git a/ClassicCastbars/ClassicCastbars.lua b/ClassicCastbars/ClassicCastbars.lua index 546b26c..a2fec3f 100644 --- a/ClassicCastbars/ClassicCastbars.lua +++ b/ClassicCastbars/ClassicCastbars.lua @@ -10,6 +10,7 @@ local npcCastTimeCache = {} local npcCastUninterruptibleCache = {} if not _G.WOW_PROJECT_ID or (_G.WOW_PROJECT_ID ~= _G.WOW_PROJECT_CLASSIC) then + -- luacheck: ignore return print("|cFFFF0000[ERROR] ClassicCastbars only supports Classic WoW.|r") end diff --git a/ClassicCastbars/core/Frames.lua b/ClassicCastbars/core/Frames.lua index 37fd9b9..f53a2e2 100644 --- a/ClassicCastbars/core/Frames.lua +++ b/ClassicCastbars/core/Frames.lua @@ -380,6 +380,7 @@ function addon:SkinPlayerCastbar() if not db.enabled then return end if not CastingBarFrame:IsEventRegistered("UNIT_SPELLCAST_START") then + -- luacheck: ignore print("|cFFFF0000[ClassicCastbars] Incompatibility detected for player castbar. You most likely have another addon disabling the Blizzard castbar.|r") end diff --git a/ClassicCastbars_Options/TestMode.lua b/ClassicCastbars_Options/TestMode.lua index 6117ec4..05bea05 100644 --- a/ClassicCastbars_Options/TestMode.lua +++ b/ClassicCastbars_Options/TestMode.lua @@ -97,6 +97,7 @@ function TestMode:SetCastbarMovable(unitID, parent) local parentFrame = parent or ClassicCastbars.AnchorManager:GetAnchor(unitID) if not parentFrame then if unitID == "target" or unitID == "nameplate-testmode" then + -- luacheck: ignore print(format("|cFFFF0000[ClassicCastbars] %s|r", _G.ERR_GENERIC_NO_TARGET)) end return false