Fix 1.12->1.13 stop sound handling

Fixes #3247
This commit is contained in:
Nassim Jahnke 2023-03-17 11:37:37 +01:00
parent 51606eb5ef
commit 7f7c6241de
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -106,7 +106,7 @@ public class InventoryPackets extends ItemRewriter<ClientboundPackets1_12_1, Ser
// Reset the packet
wrapper.clearPacket();
wrapper.setPacketType(ClientboundPackets1_13.SOUND);
wrapper.setPacketType(ClientboundPackets1_13.STOP_SOUND);
byte flags = 0;
wrapper.write(Type.BYTE, flags); // Placeholder