mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 07:34:48 +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);
|
Objects.requireNonNull(this.connection);
|
||||||
- minecraftserver.executeBlocking(networkmanager::handleDisconnection);
|
- minecraftserver.executeBlocking(networkmanager::handleDisconnection);
|
||||||
+ // CraftBukkit - Don't wait
|
+ // CraftBukkit - Don't wait
|
||||||
+ minecraftserver.wrapRunnable(networkmanager::handleDisconnection);
|
+ minecraftserver.scheduleOnMain(networkmanager::handleDisconnection); // Paper
|
||||||
}
|
}
|
||||||
|
|
||||||
protected boolean isSingleplayerOwner() {
|
protected boolean isSingleplayerOwner() {
|
||||||
|
|
Loading…
Reference in a new issue