Advertisement
speedwaystar

Untitled

Sep 18th, 2023
1,316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.47 KB | None | 0 0
  1.  ACP.lua | 4 ++--
  2.  1 file changed, 2 insertions(+), 2 deletions(-)
  3.  
  4. diff --git a/ACP.lua b/ACP.lua
  5. index a8d1d3b..4b2ff97 100644
  6. --- a/ACP.lua
  7. +++ b/ACP.lua
  8. @@ -271,13 +271,13 @@ function ACP:IsAddonCompatibleWithCurrentIntefaceVersion(addon)
  9.      end
  10.  
  11.     local max_supported = (GetAddOnMetadata(addonnum, ACP.TAGS.INTERFACE_MAX .. (isClassic and "-Classic" or isBCC and "-BCC" or isWrath and "-Wrath" or ""))) or
  12. -       (GetAddOnMetadata(addonnum, ACP.TAGS.INTERFACE_MAX_ORG) .. (isClassic and "-Classic" or isBCC and "-BCC" or isWrath and "-Wrath" or ""))
  13. +       ((GetAddOnMetadata(addonnum, ACP.TAGS.INTERFACE_MAX_ORG)  or "") .. (isClassic and "-Classic" or isBCC and "-BCC" or isWrath and "-Wrath" or ""))
  14.     if not min_supported then
  15.         max_supported = GetAddOnMetadata(addonnum, ACP.TAGS.INTERFACE_MAX) or GetAddOnMetadata(addonnum, ACP.TAGS.INTERFACE_MAX_ORG)
  16.     end
  17.  
  18.     local min_supported = (GetAddOnMetadata(addonnum, ACP.TAGS.INTERFACE_MIN .. (isClassic and "-Classic" or isBCC and "-BCC" or isWrath and "-Wrath" or ""))) or
  19. -       (GetAddOnMetadata(addonnum, ACP.TAGS.INTERFACE_MIN_ORG) .. (isClassic and "-Classic" or isBCC and "-BCC" or isWrath and "-Wrath" or ""))
  20. +       ((GetAddOnMetadata(addonnum, ACP.TAGS.INTERFACE_MIN_ORG) or "") .. (isClassic and "-Classic" or isBCC and "-BCC" or isWrath and "-Wrath" or ""))
  21.     if not min_supported then
  22.         min_supported = GetAddOnMetadata(addonnum, ACP.TAGS.INTERFACE_MIN) or GetAddOnMetadata(addonnum, ACP.TAGS.INTERFACE_MIN_ORG)
  23.     end
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement