Merge pull request #344 from madsboddum/343

Reset player PvP status when changing factions to prevent the old sta…
This commit is contained in:
Josh Larson
2021-03-14 18:22:02 -04:00
committed by GitHub

View File

@@ -178,6 +178,7 @@ public class FactionFlagService extends Service {
Faction newFaction = fi.getNewFaction();
target.setFaction(newFaction);
target.setPvpStatus(PvpStatus.COMBATANT); // Reset status to default, preventing special forces state from carrying over
handleFlagChange(target);
}