package team.unstudio.udpl.util;

import org.bukkit.ChatColor;
import org.bukkit.entity.Player;

public interface ChatUtils {

	static String SPLITTER = ChatColor.translateAlternateColorCodes('&', "&l&m----------------------------------------------------------------");
	static char DEFAULT_COLOR_CHAR = '&';
	
	static void sendSplitter(Player player){
		player.sendMessage(SPLITTER);
	}
	
	static void sendEmpty(Player player){
		player.sendMessage("");
	}
	
	static String translateColorCodes(String textToTranslate){
		return ChatColor.translateAlternateColorCodes(DEFAULT_COLOR_CHAR, textToTranslate);
	}
}

@@ -157,33 +157,14 @@
 R = 
-ChatColor.translateAltern
+transl
 ateC
@@ -177,13 +177,8 @@
 des(
-'&', 
 %22&l&
@@ -286,24 +286,47 @@
  = '&';%0D%0A%09%0D%0A
+%09/**%0D%0A%09 * %E5%8F%91%E9%80%81%E5%88%86%E5%89%B2%E7%BA%BF%0D%0A%09 */%0D%0A
 %09static void
@@ -388,32 +388,54 @@
 ITTER);%0D%0A%09%7D%0D%0A%09%0D%0A
+%09/**%0D%0A%09 * %E5%8F%91%E9%80%81%E7%A9%BA%E8%A1%8C%0D%0A%09 */%0D%0A
 %09static void sen
@@ -489,19 +489,51 @@
 );%0D%0A%09%7D%0D%0A
-
 %09%0D%0A
+%09/**%0D%0A%09 * %E5%B0%86%E6%96%87%E6%9C%AC%E4%B8%AD'&'%E8%BD%AC%E6%8D%A2%E4%B8%BA%E9%A2%9C%E8%89%B2%E5%AD%97%E7%AC%A6%0D%0A%09 */%0D%0A
 %09static 

Update ChatUtils