fixed libpredict not showing own heals/resses

- Thanks at liiora for reporting this.
- Short explain, the new libpredict uses nampower for it's prediction, in all my tests i had a lots of debug messages added to track if everything works. Seeing my own messages twice i assumed, i can improve the performance by ignoring "player".  This also bugged the self-prediction because now your own abilitys were ignored. (FIXED NOW)
This commit is contained in:
Meow
2026-02-10 08:51:00 +01:00
parent 68c2b2d1dc
commit b2fc8a73b1
-4
View File
@@ -131,10 +131,6 @@ libpredict:SetScript("OnEvent", function()
end
if event == "CHAT_MSG_ADDON" and (arg1 == "HealComm" or arg1 == "CTRA") then
-- Ignore own messages (sender receives own addon messages)
local playerName = UnitName("player")
if arg4 == playerName then return end
this:ParseChatMessage(arg4, arg2, arg1)
elseif event == "UNIT_HEALTH" then
local name = UnitName(arg1)