mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 23:46:57 +01:00
Fix inconsistent commands
By: md_5 <git@md-5.net>
This commit is contained in:
parent
ee04dc8508
commit
023eff1b0e
1 changed files with 8 additions and 4 deletions
|
@ -1,7 +1,11 @@
|
|||
--- a/net/minecraft/network/protocol/game/PacketPlayInChat.java
|
||||
+++ b/net/minecraft/network/protocol/game/PacketPlayInChat.java
|
||||
@@ -1,3 +1,4 @@
|
||||
+// mc-dev import
|
||||
package net.minecraft.network.protocol.game;
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
import java.io.IOException;
|
||||
@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
|
||||
|
|
Loading…
Reference in a new issue