3
0
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:
Hugo Kerstens 2016-03-27 18:05:04 +01:00
Ursprung 293c1229ff
Commit f5f4876182

Datei anzeigen

@ -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;
} }