Commit 3808df79 authored by Caedis's avatar Caedis

proper removal of the event

parent 9b651a1b
......@@ -108,5 +108,5 @@ E['valueColorUpdateFuncs'][ValueColorUpdate] = true
click - function to fire when clicking the datatext
onEnterFunc - function to fire OnEnter
]]
DT:RegisterDatatext('Avoidance', {"UNIT_TARGET", "UNIT_STATS", "UNIT_AURA", --"FORGE_MASTER_ITEM_CHANGE", "ACTIVE_TALENT_GROUP_CHANGED", "PLAYER_TALENT_UPDATE"}, OnEvent, nil, nil, OnEnter)
DT:RegisterDatatext('Avoidance', {"UNIT_TARGET", "UNIT_STATS", "UNIT_AURA", "ACTIVE_TALENT_GROUP_CHANGED", "PLAYER_TALENT_UPDATE"}, OnEvent, nil, nil, OnEnter)
......@@ -35,7 +35,6 @@ E['valueColorUpdateFuncs'][ValueColorUpdate] = true
local events = {
"UNIT_STATS",
"UNIT_AURA",
--"FORGE_MASTER_ITEM_CHANGE",
"ACTIVE_TALENT_GROUP_CHANGED",
"PLAYER_TALENT_UPDATE",
}
......
......@@ -36,7 +36,6 @@ E['valueColorUpdateFuncs'][ValueColorUpdate] = true
local events = {
"UNIT_STATS",
"UNIT_AURA",
--"FORGE_MASTER_ITEM_CHANGE",
"ACTIVE_TALENT_GROUP_CHANGED",
"PLAYER_TALENT_UPDATE",
}
......
......@@ -37,7 +37,6 @@ E['valueColorUpdateFuncs'][ValueColorUpdate] = true
local events = {
"UNIT_STATS",
"UNIT_AURA",
--"FORGE_MASTER_ITEM_CHANGE",
"ACTIVE_TALENT_GROUP_CHANGED",
"PLAYER_TALENT_UPDATE",
}
......
......@@ -66,8 +66,7 @@ E['valueColorUpdateFuncs'][ValueColorUpdate] = true
]]
local events = {
"UNIT_STATS",
"UNIT_AURA",
--"FORGE_MASTER_ITEM_CHANGE",
"UNIT_AURA",
"ACTIVE_TALENT_GROUP_CHANGED",
"PLAYER_TALENT_UPDATE",
"PLAYER_ENTERING_WORLD" -- for the initial setup
......
......@@ -36,7 +36,6 @@ E['valueColorUpdateFuncs'][ValueColorUpdate] = true
local events = {
"UNIT_STATS",
"UNIT_AURA",
--"FORGE_MASTER_ITEM_CHANGE",
"ACTIVE_TALENT_GROUP_CHANGED",
"PLAYER_TALENT_UPDATE",
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment