Fix CB call to changed postToMainThread method

This commit is contained in:
Shane Freeder 2019-05-10 18:38:19 +01:00
parent b68af3dfa1
commit 26c77784e5

View file

@ -337,7 +337,7 @@
Objects.requireNonNull(this.connection);
- minecraftserver.executeBlocking(networkmanager::handleDisconnection);
+ // CraftBukkit - Don't wait
+ minecraftserver.wrapRunnable(networkmanager::handleDisconnection);
+ minecraftserver.scheduleOnMain(networkmanager::handleDisconnection); // Paper
}
protected boolean isSingleplayerOwner() {