Fix tablist after softreload

This commit is contained in:
Lixfel
2024-12-06 13:07:21 +01:00
parent 2f50c7acae
commit da672a7506
@@ -172,8 +172,10 @@ public class Tablist extends ChannelInboundHandlerAdapter {
sendTabPacket(current, null);
current.clear();
if(connection != null)
if(connection != null) {
connection.getConnection().getChannel().pipeline().remove(this);
connection = null;
}
}
@Override