fix(premium): fix OnPlayerBeforeTeleport compilation errors

This commit is contained in:
gasaichandesu
2026-08-22 19:21:14 +04:00
parent 73c4349fa9
commit f04afd14d8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -929,7 +929,7 @@ public:
return sEluna->CanPlayerResurrect(player);
}
bool OnPlayerBeforeTeleport(Player *player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit *target)
bool OnPlayerBeforeTeleport(Player *player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit *target) override
{
return sEluna->OnPlayerBeforeTeleport(player, mapid, x, y, z, orientation, options, target);
}
+1 -1
View File
@@ -497,7 +497,7 @@ public:
void OnPlayerAuraApply(Player* player, Aura* aura);
void OnPlayerHeal(Player* player, Unit* target, uint32& gain);
void OnPlayerDamage(Player* player, Unit* target, uint32& gain);
void OnBeforeTeleport(Player* player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit* target);
void OnPlayerBeforeTeleport(Player* player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit* target);
/* Vehicle */
void OnInstall(Vehicle* vehicle);