mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 03:19:59 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user