mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-22 18:09:06 +00:00
Fix console chat not parsing placeholders.
This commit is contained in:
parent
97afddd959
commit
1cdbe07adb
@ -487,8 +487,8 @@ public class ChatListener implements Listener {
|
||||
}
|
||||
|
||||
String globalJSON = Format.convertToJson(mcp, format, chat);
|
||||
String consoleChat = format + chat;
|
||||
String message = consoleChat.replaceAll("(\ufffd([a-z0-9]))", ""); // UTF-8 encoding issues.
|
||||
format = PlaceholderAPI.setBracketPlaceholders(mcp.getPlayer(), Format.FormatStringAll(format));
|
||||
String message = (format + chat).replaceAll("(\ufffd([a-z0-9]))", ""); // UTF-8 encoding issues.
|
||||
int hash = message.hashCode();
|
||||
|
||||
//Create VentureChatEvent
|
||||
|
Loading…
x
Reference in New Issue
Block a user