mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Fix CB call to changed postToMainThread method
This commit is contained in:
parent
b68af3dfa1
commit
26c77784e5
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue