public String getStringTeam(Player p) { if (OrangeTeam.hasPlayer(p)) { return ChatColor.GOLD + "Kloyne"; } else if (BlueTeam.hasPlayer(p)) { return ChatColor.DARK_AQUA + "Innisfil"; } return ChatColor.WHITE + "Not in game."; }
public Team getTeam(Player p) { if (OrangeTeam.hasPlayer(p)) { return Team.ORANGE; } else if (BlueTeam.hasPlayer(p)) { return Team.BLUE; } else { return Team.NEUTRAL; } }