fixed a version check for nampower

This commit is contained in:
Meow
2026-02-17 11:02:32 +01:00
parent 37da46d474
commit 5029f1b3b7
+1 -1
View File
@@ -39,7 +39,7 @@ if GetNampowerVersion then
local major, minor, patch = GetNampowerVersion()
patch = patch or 0
-- Minimum required version: 2.37.0 (CastSpellByName unitStr support, SetMouseoverUnit)
if major > 2 or (major == 2 and minor > 27) or (major == 2 and minor == 27 and patch >= 2) then
if major > 2 or (major == 2 and minor > 37) or (major == 2 and minor == 37 and patch >= 0) then
hasNampower = true
end
end