Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Add check for isPorted because server can be using 1.9
Dieser Commit ist enthalten in:
Ursprung
293c1229ff
Commit
f5f4876182
@ -144,7 +144,7 @@ public class ViaBossBar implements BossBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void sendPacket(UUID uuid, ByteBuf buf) {
|
private void sendPacket(UUID uuid, ByteBuf buf) {
|
||||||
if (ViaVersion.getInstance().getPlayerVersion(uuid) > ProtocolVersion.V1_9) {
|
if (!ViaVersion.getInstance().isPorted(uuid) || !(ViaVersion.getInstance().getPlayerVersion(uuid) >= ProtocolVersion.V1_9)) {
|
||||||
players.remove(uuid);
|
players.remove(uuid);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren