Files
Paper/paper-server/nms-patches/net/minecraft/network/protocol/game/PacketPlayInChat.patch
CraftBukkit/Spigot 023eff1b0e Fix inconsistent commands
By: md_5 <git@md-5.net>
2021-06-08 14:18:54 +10:00

12 lines
455 B
Diff

--- a/net/minecraft/network/protocol/game/PacketPlayInChat.java
+++ b/net/minecraft/network/protocol/game/PacketPlayInChat.java
@@ -20,7 +20,7 @@
@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