File tree Expand file tree Collapse file tree
plugin/src/main/java/org/battleplugins/arena/competition/victory/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111import org .battleplugins .arena .stat .ArenaStats ;
1212import org .battleplugins .arena .stat .StatHolder ;
1313import org .battleplugins .arena .team .ArenaTeam ;
14+ import org .bukkit .Bukkit ;
1415
1516import java .util .Set ;
1617import java .util .stream .Collectors ;
@@ -112,7 +113,7 @@ public Set<ArenaPlayer> identifyPotentialVictors() {
112113 // the victory based on whether the team won. If the player is to
113114 // win individually, their team should just contain them, or be empty.
114115 ArenaTeam team = player .getTeam ();
115- if (team == null || this .getCompetition ().getArena ().getTeams ().isNonTeamGame ()) {
116+ if (team == null || this .getCompetition ().getArena ().getTeams ().isNonTeamGame () || ! this . teamStats ) {
116117 return Stream .of (player );
117118 }
118119
You can’t perform that action at this time.
0 commit comments