From 4eab494a01123e91b1d90f99eb961c5517117270 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Mon, 7 Sep 2026 17:55:56 -0500 Subject: [PATCH] Name the installed ClassicAPI version in the outdated popup "cannot run on this ClassicAPI" named no version, so the player had nothing to compare against the requirement, and it overstated the failure: pfUI does load on an old DLL, it just throws wherever it reaches for an API that isn't there. Put the installed version in the headline and soften it to "will not work correctly"; the detail line then only has to state the requirement. --- API_Check.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/API_Check.lua b/API_Check.lua index 93fd3d31..df5170e6 100644 --- a/API_Check.lua +++ b/API_Check.lua @@ -29,8 +29,8 @@ do headline = "|cff33ffccpf|cffffffffUI|r has been disabled." detail = "The ClassicAPI DLL isn't loaded. Download the latest release from:" elseif CLASSIC_API_VERSION < PFUI_CLASSIC_API_MIN then - headline = "|cff33ffccpf|cffffffffUI|r cannot run on this ClassicAPI." - detail = "ClassicAPI " .. FormatVersion(PFUI_CLASSIC_API_MIN) .. " or newer is required -- any errors alongside this one are the APIs it is missing. Download the latest release from:" + headline = "|cff33ffccpf|cffffffffUI|r will not work correctly on ClassicAPI " .. FormatVersion(CLASSIC_API_VERSION) .. "." + detail = FormatVersion(PFUI_CLASSIC_API_MIN) .. " or newer is required -- any errors alongside this one are the APIs it is missing. Download the latest release from:" end if detail then