File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,20 +95,20 @@ class playerscript_1v1arena : public PlayerScript
95
95
public:
96
96
playerscript_1v1arena () : PlayerScript(" playerscript_1v1arena" ) { }
97
97
98
- void OnLogin (Player* pPlayer) override
98
+ void OnPlayerLogin (Player* pPlayer) override
99
99
{
100
100
if (sConfigMgr ->GetOption <bool >(" Arena1v1.Announcer" , true ))
101
101
ChatHandler (pPlayer->GetSession ()).SendSysMessage (" This server is running the |cff4CFF00Arena 1v1 |rmodule." );
102
102
}
103
103
104
- void OnGetMaxPersonalArenaRatingRequirement (const Player* player, uint32 minslot, uint32& maxArenaRating) const override
104
+ void OnPlayerGetMaxPersonalArenaRatingRequirement (const Player* player, uint32 minslot, uint32& maxArenaRating) const override
105
105
{
106
106
if (sConfigMgr ->GetOption <bool >(" Arena1v1.VendorRating" , false ) && minslot < (uint32)sConfigMgr ->GetOption <uint32>(" Arena1v1.ArenaSlotID" , 3 ))
107
107
if (ArenaTeam* at = sArenaTeamMgr ->GetArenaTeamByCaptain (player->GetGUID (), ARENA_TEAM_1V1))
108
108
maxArenaRating = std::max (at->GetRating (), maxArenaRating);
109
109
}
110
110
111
- void OnGetArenaTeamId (Player* player, uint8 slot, uint32& result) override
111
+ void OnPlayerGetArenaTeamId (Player* player, uint8 slot, uint32& result) override
112
112
{
113
113
if (!player)
114
114
return ;
You can’t perform that action at this time.
0 commit comments