mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-22 14:41:57 +01:00
fix number comparing
This commit is contained in:
parent
7b200ad264
commit
8bd982a412
@ -230,7 +230,7 @@ public abstract class CommonBoss<T> extends BossBar<T> {
|
||||
}
|
||||
|
||||
private void sendPacketConnection(UserConnection conn, PacketWrapper wrapper) {
|
||||
if (conn.getProtocolInfo() == null || conn.getProtocolInfo().getProtocolVersion() >= ProtocolVersion.v1_9.getId()) {
|
||||
if (conn.getProtocolInfo() == null || conn.getProtocolInfo().getProtocolVersion() < ProtocolVersion.v1_9.getId()) {
|
||||
connections.remove(conn);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user