We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ef4fc3 commit 0417624Copy full SHA for 0417624
EssentialsChat/src/main/java/com/earth2me/essentials/chat/processing/AbstractChatHandler.java
@@ -214,9 +214,9 @@ protected void handleChatRecipients(AbstractChatEvent event) {
214
}
215
216
// Strip local chat prefix to preserve API behaviour
217
- final String localPrefix = AdventureUtil.miniToLegacy(tlLiteral("chatTypeLocal"));
+ final String localPrefix = tlLiteral("chatTypeLocal");
218
String baseFormat = AdventureUtil.legacyToMini(event.getFormat());
219
- if (event.getFormat().startsWith(localPrefix)) {
+ if (baseFormat.startsWith(localPrefix)) {
220
baseFormat = baseFormat.substring(localPrefix.length());
221
222
0 commit comments