mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 03:49:10 +00:00
Better Label + Error Message
This commit is contained in:
1 parent
eb899061bf
commit
a728ff13c1
1 file changed
+2
-2
@@ -124,7 +124,7 @@ public class ColorUtil {
|
||||
return composite;
|
||||
}
|
||||
|
||||
private static String LABEL = "\u00A7e[CNPC+] ";
|
||||
private static String LABEL = "\u00A76[\u00A7eCNPC+\u00A76] ";
|
||||
|
||||
/**
|
||||
* Assembles a composite chat component from a raw text string with formatting codes,
|
||||
@@ -154,7 +154,7 @@ public class ColorUtil {
|
||||
}
|
||||
|
||||
public static void sendError(ICommandSender sender, String text) {
|
||||
text = LABEL + "\u00A7c" + text;
|
||||
text = LABEL + "\u00A74Error: \u00A7c" + text;
|
||||
IChatComponent component = assembleComponent(text);
|
||||
sender.addChatMessage(component);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user