Skip to content

Commit

Permalink
Changed from concurrent set to copyonwritearrayset
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdev03 committed Jun 27, 2024
1 parent 140d5ca commit 683a72b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,7 @@ public VelocityTeam build(@NotNull VelocityScoreboard scoreboard) {
if (allowFriendlyFire == null) allowFriendlyFire = false;
if (canSeeFriendlyInvisibles == null) canSeeFriendlyInvisibles = false;
return new VelocityTeam(scoreboard, name, new TeamProperties(displayName, prefix, suffix, nameVisibility, collisionRule,
color, allowFriendlyFire, canSeeFriendlyInvisibles), Sets.newConcurrentHashSet(entries)
);
color, allowFriendlyFire, canSeeFriendlyInvisibles), Sets.newCopyOnWriteArraySet(entries));
}
}
}

0 comments on commit 683a72b

Please sign in to comment.