From a30b48d8e93c0ab102822b32c9131673baa2f94a Mon Sep 17 00:00:00 2001 From: KennyTV Date: Sat, 9 May 2020 15:31:54 +0200 Subject: [PATCH] Fix stop sound source reading --- .../java/nl/matsv/viabackwards/api/rewriters/SoundRewriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/nl/matsv/viabackwards/api/rewriters/SoundRewriter.java b/core/src/main/java/nl/matsv/viabackwards/api/rewriters/SoundRewriter.java index 9c2a2586..7be98991 100644 --- a/core/src/main/java/nl/matsv/viabackwards/api/rewriters/SoundRewriter.java +++ b/core/src/main/java/nl/matsv/viabackwards/api/rewriters/SoundRewriter.java @@ -70,7 +70,7 @@ public class SoundRewriter { if ((flags & 0x02) == 0) return; // No sound specified if ((flags & 0x01) != 0) { - wrapper.passthrough(Type.STRING); // Source + wrapper.passthrough(Type.VAR_INT); // Source } String soundId = wrapper.read(Type.STRING);