From d07b0585b51e3ed98edbef9b2c22911d2e34c8a6 Mon Sep 17 00:00:00 2001 From: Horyoshi <42314202+Cinecom@users.noreply.github.com> Date: Wed, 25 Mar 2026 08:54:45 +0100 Subject: [PATCH] Bugfix --- shootyepgp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shootyepgp.lua b/shootyepgp.lua index 889c184..ba99632 100644 --- a/shootyepgp.lua +++ b/shootyepgp.lua @@ -1137,10 +1137,10 @@ function sepgp:addonComms(prefix,message,channel,sender) elseif admin() and what == "GP" and who and amount then -- Log GP changes for OTHER players (so DLL can track corrections) local old_gp = (new_gp or 0) - amount - msg = string.format(L["Awarding %d GP to %s. (Previous: %d, New: %d)"],amount,who,old_gp,math.max(sepgp.VARS.basegp,new_gp or 0)) + msg = string.format(L["Awarding %d GP to %s%s. (Previous: %d, New: %d)"],amount,who,"",old_gp,math.max(sepgp.VARS.basegp,new_gp or 0)) elseif admin() and what == "EP" and who and amount and amount < 0 then -- Log EP penalties for OTHER players - msg = string.format(L["%s EP Penalty to %s."],amount,who) + msg = string.format(L["%s EP Penalty to %s%s."],amount,who,"") elseif who == "ALL" and what == "DECAY" then msg = string.format(L["%s%% decay to EP and GP."],amount) elseif who == "RAID" and what == "AWARD" then