Fix bossbar

This commit is contained in:
creeper123123321 2020-06-26 05:57:02 -03:00 committed by GitHub
parent 67ef4700c7
commit 7a03feeccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,7 @@ public abstract class CommonBoss<T> extends BossBar<T> {
}
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);
return;
}