craftbukkit/nms-patches/net/minecraft/network/protocol/game/PacketPlayInChat.patch

12 lines
455 B
Diff
Raw Normal View History

2021-04-07 15:03:29 +10:00
--- a/net/minecraft/network/protocol/game/PacketPlayInChat.java
+++ b/net/minecraft/network/protocol/game/PacketPlayInChat.java
2021-06-08 14:18:54 +10:00
@@ -20,7 +20,7 @@
2021-04-07 15:03:29 +10:00
2021-06-08 14:18:54 +10:00
@Override
public void a(PacketDataSerializer packetdataserializer) throws IOException {
- this.a = packetdataserializer.e(256);
+ this.a = org.apache.commons.lang3.StringUtils.normalizeSpace(packetdataserializer.e(256)); // CraftBukkit - see PlayerConnection
}
@Override