Fix to make sure value is displayed on PLAYER_ENTERING_WORLD

This commit is contained in:
robin 2021-04-29 11:37:31 +02:00
parent 64e4420c78
commit 93d990b6e4
1 changed files with 1 additions and 0 deletions

View File

@ -121,5 +121,6 @@ child['specs'] = {
function events:PLAYER_ENTERING_WORLD(event)
child:UnregisterEvent('PLAYER_ENTERING_WORLD')
player = format("%s-%s", UnitFullName("player"))
events.UPDATE_INVENTORY_DURABILITY()
end
child:NewAddOn(...)