More stub methods to avoid flushing

This commit is contained in:
fullwall 2023-10-14 21:57:16 +08:00
parent 3ae2c0d538
commit 291591b7d4
2 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,10 @@ public class EmptyConnection extends Connection {
}; };
} }
@Override
public void flushChannel() {
}
@Override @Override
public boolean isConnected() { public boolean isConnected() {
return true; return true;

View File

@ -13,6 +13,10 @@ public class EmptyPacketListener extends ServerGamePacketListenerImpl {
super(minecraftServer, networkManager, entityPlayer, clc); super(minecraftServer, networkManager, entityPlayer, clc);
} }
@Override
public void resumeFlushing() {
}
@Override @Override
public void send(Packet<?> packet) { public void send(Packet<?> packet) {
} }