Fix 1.20.2->1.20 entity sound reading

Fixes ViaVersion/ViaVersion#3744
This commit is contained in:
Nassim Jahnke 2024-03-14 14:41:49 +01:00
parent d96cef7134
commit f3b26c5aa5
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -65,7 +65,7 @@ public final class Protocol1_20To1_20_2 extends BackwardsProtocol<ClientboundPac
final SoundRewriter<ClientboundPackets1_20_2> soundRewriter = new SoundRewriter<>(this);
soundRewriter.register1_19_3Sound(ClientboundPackets1_20_2.SOUND);
soundRewriter.registerSound(ClientboundPackets1_20_2.ENTITY_SOUND);
soundRewriter.register1_19_3Sound(ClientboundPackets1_20_2.ENTITY_SOUND);
soundRewriter.registerStopSound(ClientboundPackets1_20_2.STOP_SOUND);
registerClientbound(ClientboundPackets1_20_2.DISPLAY_SCOREBOARD, wrapper -> {