TeamManager avatar add refactor.

This commit is contained in:
ProxyismGH
2022-05-26 18:38:52 -07:00
committed by Melledy
parent 6a9018e310
commit 880d177034
5 changed files with 134 additions and 26 deletions

View File

@@ -44,7 +44,7 @@ public class TeamInfo {
}
public boolean addAvatar(Avatar avatar) {
if (size() >= GAME_OPTIONS.avatarLimits.singlePlayerTeam || contains(avatar)) {
if (contains(avatar)) {
return false;
}