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); 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); 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 OnPlayerAuraApply(Player* player, Aura* aura);
void OnPlayerHeal(Player* player, Unit* target, uint32& gain); void OnPlayerHeal(Player* player, Unit* target, uint32& gain);
void OnPlayerDamage(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 */ /* Vehicle */
void OnInstall(Vehicle* vehicle); void OnInstall(Vehicle* vehicle);