mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-30 20:03:51 -07:00
@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/NetworkManager.java
|
||||
+++ b/net/minecraft/server/NetworkManager.java
|
||||
@@ -129,7 +129,7 @@
|
||||
@@ -127,7 +127,7 @@
|
||||
}
|
||||
|
||||
private static <T extends PacketListener> void a(Packet<T> packet, PacketListener packetlistener) {
|
||||
@@ -9,12 +9,12 @@
|
||||
}
|
||||
|
||||
public void setPacketListener(PacketListener packetlistener) {
|
||||
@@ -244,7 +244,7 @@
|
||||
@@ -234,7 +234,7 @@
|
||||
|
||||
public void close(IChatBaseComponent ichatbasecomponent) {
|
||||
if (this.channel.isOpen()) {
|
||||
- this.channel.close().awaitUninterruptibly();
|
||||
+ this.channel.close(); // We can't wait as this may be called from an event loop.
|
||||
this.n = ichatbasecomponent;
|
||||
this.m = ichatbasecomponent;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user