diff --git a/src/de/steamwar/misslewars/MissileWars.java b/src/de/steamwar/misslewars/MissileWars.java index 24c576c..29e3ec8 100644 --- a/src/de/steamwar/misslewars/MissileWars.java +++ b/src/de/steamwar/misslewars/MissileWars.java @@ -141,7 +141,7 @@ public class MissileWars extends JavaPlugin { } public static void join(Player p) { - if (MissileWars.getRedTeam().getPlayers().size() < MissileWars.getBlueTeam().getPlayers().size()) { + if (MissileWars.getRedTeam().size() < MissileWars.getBlueTeam().size()) { MissileWars.getRedTeam().join(p); } else { MissileWars.getBlueTeam().join(p);