geforkt von Mirrors/Paper
Fix timings sometimes incorrectly marking commands (#5783)
Dieser Commit ist enthalten in:
Ursprung
b04b2e037b
Commit
b881670015
@ -774,6 +774,19 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
} else {
|
||||
PlayerConnectionUtils.LOGGER.debug("Ignoring packet due to disconnection: " + packet);
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/network/protocol/game/PacketPlayInChat.java b/src/main/java/net/minecraft/network/protocol/game/PacketPlayInChat.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/net/minecraft/network/protocol/game/PacketPlayInChat.java
|
||||
+++ b/src/main/java/net/minecraft/network/protocol/game/PacketPlayInChat.java
|
||||
@@ -0,0 +0,0 @@ public class PacketPlayInChat implements Packet<PacketListenerPlayIn> {
|
||||
|
||||
@Override
|
||||
public void a(PacketDataSerializer packetdataserializer) throws IOException {
|
||||
- this.a = packetdataserializer.e(256);
|
||||
+ this.a = org.apache.commons.lang3.StringUtils.normalizeSpace(packetdataserializer.e(256));
|
||||
}
|
||||
|
||||
@Override
|
||||
diff --git a/src/main/java/net/minecraft/server/CustomFunctionData.java b/src/main/java/net/minecraft/server/CustomFunctionData.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/net/minecraft/server/CustomFunctionData.java
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren