mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-29 21:43:30 +01:00
Add check for isPorted because server can be using 1.9
This commit is contained in:
parent
293c1229ff
commit
f5f4876182
@ -144,7 +144,7 @@ public class ViaBossBar implements BossBar {
|
||||
}
|
||||
|
||||
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);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user