Core/Player: Don't allow to deactivate PvP mode in hostile/neutral zones at PvP realms
This commit is contained in:
@@ -19049,7 +19049,7 @@ void Player::UpdatePvPFlag(time_t currTime)
|
||||
{
|
||||
if (!IsPvP())
|
||||
return;
|
||||
if (pvpInfo.endTimer == 0 || currTime < (pvpInfo.endTimer + 300))
|
||||
if (pvpInfo.endTimer == 0 || currTime < (pvpInfo.endTimer + 300) || pvpInfo.inHostileArea)
|
||||
return;
|
||||
|
||||
UpdatePvP(false);
|
||||
|
||||
Reference in New Issue
Block a user