From 0a921d9bdced45f623ef6eaef2b08451d7af7b4f Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Thu, 14 Mar 2024 14:43:37 +0100 Subject: [PATCH] Use the correct entity sound rewriter method --- .../protocol1_20_3to1_20_2/Protocol1_20_3To1_20_2.java | 2 +- .../protocols/protocol1_20to1_19_4/Protocol1_20To1_19_4.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/Protocol1_20_3To1_20_2.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/Protocol1_20_3To1_20_2.java index ff1ae6e39..be605425c 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/Protocol1_20_3To1_20_2.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/Protocol1_20_3To1_20_2.java @@ -77,7 +77,7 @@ public final class Protocol1_20_3To1_20_2 extends AbstractProtocol 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); new StatisticsRewriter<>(this).register(ClientboundPackets1_20_2.STATISTICS); new CommandRewriter1_19_4<>(this).registerDeclareCommands1_19(ClientboundPackets1_20_2.DECLARE_COMMANDS); diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20to1_19_4/Protocol1_20To1_19_4.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20to1_19_4/Protocol1_20To1_19_4.java index 507394436..9376c8804 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20to1_19_4/Protocol1_20To1_19_4.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20to1_19_4/Protocol1_20To1_19_4.java @@ -53,7 +53,7 @@ public final class Protocol1_20To1_19_4 extends AbstractProtocol soundRewriter = new SoundRewriter<>(this); soundRewriter.register1_19_3Sound(ClientboundPackets1_19_4.SOUND); - soundRewriter.registerSound(ClientboundPackets1_19_4.ENTITY_SOUND); + soundRewriter.register1_19_3Sound(ClientboundPackets1_19_4.ENTITY_SOUND); new StatisticsRewriter<>(this).register(ClientboundPackets1_19_4.STATISTICS);