Fixing the too long String bug.
This commit is contained in:
parent
609199a6b8
commit
c3742ec794
@ -134,13 +134,13 @@ public class TeamSkywars extends Skywars
|
|||||||
private enum TeamColors
|
private enum TeamColors
|
||||||
{
|
{
|
||||||
|
|
||||||
YELLOW(ChatColor.YELLOW, new String[]{"Bananas", "Lemonade", "Lemons"}),
|
YELLOW(ChatColor.YELLOW, new String[]{"Bananas", "Custard", "Lemons"}),
|
||||||
GREEN(ChatColor.GREEN, new String[]{"Tree", "Leaves", "Grass"}),
|
GREEN(ChatColor.GREEN, new String[]{"Creepers", "Leaves", "Grass"}),
|
||||||
AQUA(ChatColor.AQUA, new String[]{"Sky", "Water", "Diamonds"}),
|
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"}),
|
GOLD(ChatColor.GOLD, new String[]{"Oranges", "Foxes", "Sunset"}),
|
||||||
LIGHT_PURPLE(ChatColor.LIGHT_PURPLE, new String[]{"Pinky", "Pigies", "Pie"}),
|
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"}),
|
DARK_RED(ChatColor.DARK_RED, new String[]{"Roses", "Apples", "Cherrys"}),
|
||||||
WHITE(ChatColor.WHITE, new String[]{"Paper", "Marbles", "Wall"}),
|
WHITE(ChatColor.WHITE, new String[]{"Paper", "Marbles", "Wall"}),
|
||||||
BLUE(ChatColor.BLUE, new String[]{"Ocean", "Sea", "Lake"}),
|
BLUE(ChatColor.BLUE, new String[]{"Ocean", "Sea", "Lake"}),
|
||||||
|
@ -187,7 +187,7 @@ public class GameLobbyManager implements Listener, IPacketHandler
|
|||||||
{
|
{
|
||||||
if(team.GetDisplaytag())
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user