mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Update IndividualProgressionPlayer.cpp
adding a progression check on switching areas to avoid a possible required double logout
This commit is contained in:
@@ -540,6 +540,8 @@ public:
|
||||
|
||||
void OnPlayerUpdateArea(Player* player, uint32 /*oldArea*/, uint32 newArea) override
|
||||
{
|
||||
sIndividualProgression->checkIPProgression(player);
|
||||
|
||||
switch (newArea) {
|
||||
case AREA_DARKSHORE:
|
||||
if ((sIndividualProgression->hasPassedProgression(player, PROGRESSION_PRE_AQ)) && (sIndividualProgression->isBeforeProgression(player, PROGRESSION_AQ_WAR)))
|
||||
|
||||
Reference in New Issue
Block a user