Skip to content

Commit c13c3f1

Browse files
committed
Fix scoreboard objective reading
1 parent 3b9354c commit c13c3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected void registerPackets() {
6464
soundRewriter.registerSound(ClientboundPackets1_20_2.ENTITY_SOUND);
6565
soundRewriter.registerStopSound(ClientboundPackets1_20_2.STOP_SOUND);
6666

67-
registerClientbound(ClientboundPackets1_20_2.SCOREBOARD_OBJECTIVE, wrapper -> {
67+
registerClientbound(ClientboundPackets1_20_2.DISPLAY_SCOREBOARD, wrapper -> {
6868
final int slot = wrapper.read(Type.VAR_INT);
6969
wrapper.write(Type.BYTE, (byte) slot);
7070
});

0 commit comments

Comments
 (0)