Fix stop sound source reading

This commit is contained in:
KennyTV 2020-05-09 15:31:54 +02:00
parent e7ab178449
commit a30b48d8e9
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -70,7 +70,7 @@ public class SoundRewriter {
if ((flags & 0x02) == 0) return; // No sound specified if ((flags & 0x02) == 0) return; // No sound specified
if ((flags & 0x01) != 0) { if ((flags & 0x01) != 0) {
wrapper.passthrough(Type.STRING); // Source wrapper.passthrough(Type.VAR_INT); // Source
} }
String soundId = wrapper.read(Type.STRING); String soundId = wrapper.read(Type.STRING);