Fixing the too long String bug.

This commit is contained in:
Sarah 2015-07-24 15:00:49 +02:00
parent 609199a6b8
commit c3742ec794
2 changed files with 5 additions and 5 deletions

View File

@ -134,13 +134,13 @@ public class TeamSkywars extends Skywars
private enum TeamColors
{
YELLOW(ChatColor.YELLOW, new String[]{"Bananas", "Lemonade", "Lemons"}),
GREEN(ChatColor.GREEN, new String[]{"Tree", "Leaves", "Grass"}),
YELLOW(ChatColor.YELLOW, new String[]{"Bananas", "Custard", "Lemons"}),
GREEN(ChatColor.GREEN, new String[]{"Creepers", "Leaves", "Grass"}),
AQUA(ChatColor.AQUA, new String[]{"Sky", "Water", "Diamonds"}),
RED(ChatColor.RED, new String[]{"Fire", "Lava", "Nether"}),
RED(ChatColor.RED, new String[]{"Jam", "Lava", "Nether"}),
GOLD(ChatColor.GOLD, new String[]{"Oranges", "Foxes", "Sunset"}),
LIGHT_PURPLE(ChatColor.LIGHT_PURPLE, new String[]{"Pinky", "Pigies", "Pie"}),
DARK_BLUE(ChatColor.DARK_BLUE, new String[]{"River", "Lapis", "Tears"}),
DARK_BLUE(ChatColor.DARK_BLUE, new String[]{"Spooky", "Lapis", "Tears"}),
DARK_RED(ChatColor.DARK_RED, new String[]{"Roses", "Apples", "Cherrys"}),
WHITE(ChatColor.WHITE, new String[]{"Paper", "Marbles", "Wall"}),
BLUE(ChatColor.BLUE, new String[]{"Ocean", "Sea", "Lake"}),

View File

@ -187,7 +187,7 @@ public class GameLobbyManager implements Listener, IPacketHandler
{
if(team.GetDisplaytag())
{
scoreboard.registerNewTeam(rank.Name + team.GetName().toUpperCase()).setPrefix(team.GetColor() + C.Bold + team.GetName() + ChatColor.RESET + team.GetColor() + " ");
scoreboard.registerNewTeam(rank.Name + team.GetName().toUpperCase()).setPrefix(team.GetColor() + C.Bold + team.GetName() + team.GetColor() + " ");
}
else
{