mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-23 02:19:05 +00:00
Removed unused print statement
This commit is contained in:
parent
f072821244
commit
24f7c6b94a
@ -464,7 +464,6 @@ public class ChatListener implements Listener {
|
|||||||
|
|
||||||
String globalJSON = Format.convertToJson(mcp, format, chat);
|
String globalJSON = Format.convertToJson(mcp, format, chat);
|
||||||
String consoleChat = format + chat;
|
String consoleChat = format + chat;
|
||||||
System.out.println(consoleChat);
|
|
||||||
String message = consoleChat.replaceAll("(§([a-z0-9]))", "");
|
String message = consoleChat.replaceAll("(§([a-z0-9]))", "");
|
||||||
int hash = message.hashCode();
|
int hash = message.hashCode();
|
||||||
|
|
||||||
|
@ -44,10 +44,10 @@ public class Format {
|
|||||||
prefix = FormatStringAll(MineverseChat.chat.getPlayerPrefix(sender.getPlayer()));
|
prefix = FormatStringAll(MineverseChat.chat.getPlayerPrefix(sender.getPlayer()));
|
||||||
suffix = FormatStringAll(MineverseChat.chat.getPlayerSuffix(sender.getPlayer()));
|
suffix = FormatStringAll(MineverseChat.chat.getPlayerSuffix(sender.getPlayer()));
|
||||||
//Don't apply JSON if the prefix or suffix is just a color code
|
//Don't apply JSON if the prefix or suffix is just a color code
|
||||||
if(suffix.isEmpty() || (suffix.length() == 2 && suffix.substring(1).matches("[0-9a-fA-F"))) {
|
if(suffix.isEmpty() || (suffix.length() == 2 && suffix.substring(1).matches("[0-9a-fA-F]"))) {
|
||||||
suffix = "venturechat_no_suffix_code";
|
suffix = "venturechat_no_suffix_code";
|
||||||
}
|
}
|
||||||
if(prefix.isEmpty() || (prefix.length() == 2 && prefix.substring(1).matches("[0-9a-fA-F"))) {
|
if(prefix.isEmpty() || (prefix.length() == 2 && prefix.substring(1).matches("[0-9a-fA-F]"))) {
|
||||||
prefix = "venturechat_no_prefix_code";
|
prefix = "venturechat_no_prefix_code";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user