Skip to content

Commit

Permalink
More stub methods to avoid flushing
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Oct 14, 2023
1 parent 3ae2c0d commit 291591b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ public EmptyConnection(PacketFlow flag) throws IOException {
};
}

@Override
public void flushChannel() {
}

@Override
public boolean isConnected() {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ public EmptyPacketListener(MinecraftServer minecraftServer, Connection networkMa
super(minecraftServer, networkManager, entityPlayer, clc);
}

@Override
public void resumeFlushing() {
}

@Override
public void send(Packet<?> packet) {
}
Expand Down

0 comments on commit 291591b

Please sign in to comment.