public void teleport(Player player, int playerNumber) {
        if (playerNumber == 1) {
            if (getSpawnLocation1() == null) {
                player.sendMessage("Location not set yet.");
                return;
            }
            player.teleport(getSpawnLocation1());
        } else if (playerNumber == 2) {
            if (getSpawnLocation2() == null) {
                player.sendMessage("Location not set yet.");
                return;
            }
            player.teleport(getSpawnLocation2());
        } else {
            player.sendMessage(ChatColor.RED + "Bad number please pick 1 or 2 only");
        }
    }