From c13c3f17fc60590e1fc7c820becb38fa29885c44 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Thu, 31 Aug 2023 11:48:48 +1000 Subject: [PATCH] Fix scoreboard objective reading --- .../protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java index 17b24eec..93a37ed4 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java @@ -64,7 +64,7 @@ public final class Protocol1_20To1_20_2 extends BackwardsProtocol { + registerClientbound(ClientboundPackets1_20_2.DISPLAY_SCOREBOARD, wrapper -> { final int slot = wrapper.read(Type.VAR_INT); wrapper.write(Type.BYTE, (byte) slot); });