mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-02-13 19:11:37 +01:00
Fix invalid usage of String.format on paper implementation
This commit is contained in:
parent
665af5583f
commit
c69b31ce84
@ -65,7 +65,7 @@ public synchronized void onPlayerLeave(PlayerQuitEvent evt) {
|
||||
|
||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||
public synchronized void onPlayerChat(AsyncChatEvent evt) {
|
||||
String message = String.format(PlainTextComponentSerializer.plainText().serialize(evt.message()));
|
||||
String message = PlainTextComponentSerializer.plainText().serialize(evt.message());
|
||||
for (ServerEventListener listener : listeners) listener.onChatMessage(Text.of(message));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user