From 2d21c01f8ae8578d0b572512c87b04e64b5989f2 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Wed, 22 Aug 2018 21:08:47 -0400 Subject: [PATCH] Fix boss bar handling on Minecraft 1.13+. --- .../java/com/velocitypowered/proxy/protocol/StateRegistry.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java b/proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java index 5f22eca70..5ae96abc5 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java @@ -68,7 +68,8 @@ public enum StateRegistry { CLIENTBOUND.register(BossBar.class, BossBar::new, map(0x0C, MINECRAFT_1_9, false), - map(0x0C, MINECRAFT_1_12, false)); + map(0x0C, MINECRAFT_1_12, false), + map(0x0C, MINECRAFT_1_13, false)); CLIENTBOUND.register(Chat.class, Chat::new, map(0x02, MINECRAFT_1_8, true), map(0x0F, MINECRAFT_1_9, true),