Reset player PvP status when changing factions to prevent the old status from carrying over #343

This commit is contained in:
Ziggy
2021-03-14 15:45:19 +01:00
parent ed5bbed580
commit 911c0ec52f

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);
}