mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-01-15 23:05:45 -05:00
Merge pull request #344 from madsboddum/343
Reset player PvP status when changing factions to prevent the old sta…
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user