2021-04-07 07:03:29 +02:00
|
|
|
--- a/net/minecraft/network/protocol/game/PacketPlayInChat.java
|
|
|
|
+++ b/net/minecraft/network/protocol/game/PacketPlayInChat.java
|
2021-06-11 07:00:00 +02:00
|
|
|
@@ -17,7 +17,7 @@
|
|
|
|
}
|
2021-04-07 07:03:29 +02:00
|
|
|
|
2021-06-11 07:00:00 +02:00
|
|
|
public PacketPlayInChat(PacketDataSerializer packetdataserializer) {
|
2021-11-21 23:00:00 +01:00
|
|
|
- this.message = packetdataserializer.readUtf(256);
|
|
|
|
+ this.message = org.apache.commons.lang3.StringUtils.normalizeSpace(packetdataserializer.readUtf(256)); // CraftBukkit - see PlayerConnection
|
2021-06-08 06:18:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|