mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
rectify comment derp somebody just to point out
This commit is contained in:
parent
58a24b5aaf
commit
f23cfe77fe
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ disconnection to the main thread, but leave the actual processing of the packet
|
|||
on the main thread.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index d8f9a093b..eac4beb56 100644
|
||||
index d8f9a093b..f60f21fd2 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -0,0 +0,0 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable {
|
||||
|
@ -20,7 +20,7 @@ index d8f9a093b..eac4beb56 100644
|
|||
|
||||
public void a(PacketPlayInKeepAlive packetplayinkeepalive) {
|
||||
- PlayerConnectionUtils.ensureMainThread(packetplayinkeepalive, this, this.player.x()); // CraftBukkit
|
||||
+ //PlayerConnectionUtils.ensureMainThread(packetplayinkeepalive, this, this.player.x()); // CraftBukkit // Paper - Keep this on the main thread
|
||||
+ //PlayerConnectionUtils.ensureMainThread(packetplayinkeepalive, this, this.player.x()); // CraftBukkit // Paper - This shouldn't be on the main thread
|
||||
if (this.g && packetplayinkeepalive.a() == this.h) {
|
||||
int i = (int) (this.d() - this.f);
|
||||
|
||||
|
|
Loading…
Reference in a new issue