Fix to make sure value is displayed on PLAYER_ENTERING_WORLD
This commit is contained in:
parent
64e4420c78
commit
93d990b6e4
1
core.lua
1
core.lua
|
@ -121,5 +121,6 @@ child['specs'] = {
|
||||||
function events:PLAYER_ENTERING_WORLD(event)
|
function events:PLAYER_ENTERING_WORLD(event)
|
||||||
child:UnregisterEvent('PLAYER_ENTERING_WORLD')
|
child:UnregisterEvent('PLAYER_ENTERING_WORLD')
|
||||||
player = format("%s-%s", UnitFullName("player"))
|
player = format("%s-%s", UnitFullName("player"))
|
||||||
|
events.UPDATE_INVENTORY_DURABILITY()
|
||||||
end
|
end
|
||||||
child:NewAddOn(...)
|
child:NewAddOn(...)
|
Loading…
Reference in New Issue