Added /tag

Minor cleanup
This commit is contained in:
JeromSar
2013-08-12 12:26:49 +02:00
parent 696ec119c6
commit f3ac19a616
11 changed files with 107 additions and 21 deletions

View File

@ -906,6 +906,7 @@ public class TFM_Util
while (checkClass.getSuperclass() != Object.class && ((checkClass = checkClass.getSuperclass()) != null));
return null;
}
public static final List<ChatColor> COLOR_POOL = Arrays.asList(
ChatColor.DARK_BLUE,
ChatColor.DARK_GREEN,
@ -925,4 +926,9 @@ public class TFM_Util
{
return COLOR_POOL.get(RANDOM.nextInt(COLOR_POOL.size()));
}
public static String colorise(String string)
{
return ChatColor.translateAlternateColorCodes('&', string);
}
}