Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 09:00:09 +01:00
fix number comparing
Dieser Commit ist enthalten in:
Ursprung
7b200ad264
Commit
8bd982a412
@ -230,7 +230,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().getProtocolVersion() >= ProtocolVersion.v1_9.getId()) {
|
if (conn.getProtocolInfo() == null || conn.getProtocolInfo().getProtocolVersion() < ProtocolVersion.v1_9.getId()) {
|
||||||
connections.remove(conn);
|
connections.remove(conn);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren