Commit 478bc5fa authored by Simpy's avatar Simpy 🐹
Browse files

nameplates: revert a thing from 0b01c88b

parent 12205d09
......@@ -956,7 +956,7 @@ function mod:RegisterEvents(frame, unit)
if(self.db.units[frame.UnitType].buffs.enable or self.db.units[frame.UnitType].debuffs.enable) then
frame:RegisterUnitEvent("UNIT_AURA", unit, displayedUnit)
end
mod.OnEvent(frame, "PLAYER_ENTERING_WORLD", frame.unit)
mod.OnEvent(frame, "PLAYER_ENTERING_WORLD", unit)
end
frame:RegisterEvent("RAID_TARGET_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