mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-01 22:43:31 +01:00
Fix bossbar
This commit is contained in:
parent
67ef4700c7
commit
7a03feeccc
@ -196,7 +196,7 @@ public abstract class CommonBoss<T> extends BossBar<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void sendPacketConnection(UserConnection conn, PacketWrapper wrapper) {
|
private void sendPacketConnection(UserConnection conn, PacketWrapper wrapper) {
|
||||||
if (conn.getProtocolInfo() == null || conn.getProtocolInfo().getPipeline().contains(Protocol1_9To1_8.class)) {
|
if (conn.getProtocolInfo() == null || !conn.getProtocolInfo().getPipeline().contains(Protocol1_9To1_8.class)) {
|
||||||
connections.remove(conn);
|
connections.remove(conn);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user