Fix compability with latest AzerothCore

This commit is contained in:
郑佩茹
2024-07-22 17:15:16 -06:00
parent 9ca57f20bc
commit dd93a5fc73
3 changed files with 22 additions and 22 deletions

View File

@@ -134,7 +134,7 @@ public:
bool OnTrigger(Player* player, AreaTrigger const* /*areaTrigger*/) override
{
if (player->getLevel() < 80)
if (player->GetLevel() < 80)
{
player->SetRaidDifficulty(RAID_DIFFICULTY_10MAN_HEROIC);
}