mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 12:23:51 -07:00
Update to Minecraft 1.15.2
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
|
||||
+ // CraftBukkit start
|
||||
+ public void acceptConnections() {
|
||||
+ synchronized (this.f) { // PAIL: listeningChannels
|
||||
+ for (ChannelFuture f : this.f) {
|
||||
+ f.channel().config().setAutoRead(true);
|
||||
+ synchronized (this.listeningChannels) {
|
||||
+ for (ChannelFuture future : this.listeningChannels) {
|
||||
+ future.channel().config().setAutoRead(true);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
@@ -21,4 +21,4 @@
|
||||
+
|
||||
public void b() {
|
||||
this.c = false;
|
||||
Iterator iterator = this.f.iterator();
|
||||
Iterator iterator = this.listeningChannels.iterator();
|
||||
|
Reference in New Issue
Block a user