Fix vigor on entering world

Forgot to send the event argument, so it was returning early.

Fixes #34
This commit is contained in:
Parnic
2023-05-03 18:23:05 -05:00
parent 24c45f320f
commit bfffdd82d7
3 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@ v1.14.19:
- Updated TOCs for 10.1.0
- Added addon icon for 10.1.0 clients
- Fixed Dragonriding Vigor charges not showing up in 10.1.0
- Fixed Vigor not always updating correctly when loading into the game or a new zone
v1.14.18:

View File

@ -43,7 +43,7 @@ end
function DragonridingVigor.prototype:EnteringWorld()
DragonridingVigor.super.prototype.EnteringWorld(self)
self:CheckShouldShow("player")
self:CheckShouldShow("PLAYER_ENTERING_WORLD", "player")
end
function DragonridingVigor.prototype:CheckShouldShow(event, unit, info)

View File

@ -5,6 +5,7 @@ v1.14.19:
- Updated TOCs for 10.1.0
- Added addon icon for 10.1.0 clients
- Fixed Dragonriding Vigor charges not showing up in 10.1.0
- Fixed Vigor not always updating correctly when loading into the game or a new zone
v1.14.18: