Skip to content

Commit 73e78a6

Browse files
committed
Update mod_zone_difficulty_scripts.cpp
1 parent a3314e7 commit 73e78a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/mod_zone_difficulty_scripts.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ class mod_zone_difficulty_playerscript : public PlayerScript
11391139
public:
11401140
mod_zone_difficulty_playerscript() : PlayerScript("mod_zone_difficulty_playerscript") { }
11411141

1142-
void OnMapChanged(Player* player) override
1142+
void OnPlayerMapChanged(Player* player) override
11431143
{
11441144
uint32 mapId = player->GetMapId();
11451145
if (sZoneDifficulty->DisallowedBuffs.find(mapId) != sZoneDifficulty->DisallowedBuffs.end())
@@ -1151,7 +1151,7 @@ class mod_zone_difficulty_playerscript : public PlayerScript
11511151
}
11521152
}
11531153

1154-
void OnLogin(Player* player) override
1154+
void OnPlayerLogin(Player* player) override
11551155
{
11561156
if (sZoneDifficulty->MythicmodeScore.empty())
11571157
return;
@@ -1173,12 +1173,12 @@ class mod_zone_difficulty_playerscript : public PlayerScript
11731173
}
11741174
}
11751175

1176-
void OnLogout(Player* player) override
1176+
void OnPlayerLogout(Player* player) override
11771177
{
11781178
sZoneDifficulty->SelectionCache.erase(player->GetGUID());
11791179
}
11801180

1181-
void OnBeforeBuyItemFromVendor(Player* player, ObjectGuid vendorguid, uint32 /*vendorslot*/, uint32& itemEntry, uint8 /*count*/, uint8 /*bag*/, uint8 /*slot*/) override
1181+
void OnPlayerBeforeBuyItemFromVendor(Player* player, ObjectGuid vendorguid, uint32 /*vendorslot*/, uint32& itemEntry, uint8 /*count*/, uint8 /*bag*/, uint8 /*slot*/) override
11821182
{
11831183
Creature* vendor = player->GetMap()->GetCreature(vendorguid);
11841184

0 commit comments

Comments
 (0)