From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Fri, 10 May 2019 18:38:19 +0100 Subject: [PATCH] Fix CB call to changed postToMainThread method diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java index 30807f1ca5fe70c874420f63adea4cc37e4e3e67..c49dfd213d3b1a2862707f2866179f34334b9eaa 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -438,7 +438,7 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Ser Objects.requireNonNull(this.connection); // CraftBukkit - Don't wait - minecraftserver.wrapRunnable(networkmanager::handleDisconnection); + minecraftserver.scheduleOnMain(networkmanager::handleDisconnection); // Paper } private void filterTextPacket(T text, Consumer consumer, BiFunction> backingFilterer) {