if (currentGame.getBlueTeam().contains(player)) { // player is in the blue team // tp him to the spawn player.teleport(currentGame.getArena().getSpawnBlue()); }