mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
SPIGOT-2757: Player#stopSound Stops All Sounds
By: md_5 <git@md-5.net>
This commit is contained in:
parent
2215fc8e24
commit
0fcb2058cf
1 changed files with 1 additions and 1 deletions
|
@ -320,8 +320,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
if (getHandle().playerConnection == null) return;
|
||||
PacketDataSerializer packetdataserializer = new PacketDataSerializer(Unpooled.buffer());
|
||||
|
||||
packetdataserializer.a(sound);
|
||||
packetdataserializer.a("");
|
||||
packetdataserializer.a(sound);
|
||||
getHandle().playerConnection.sendPacket(new PacketPlayOutCustomPayload("MC|StopSound", packetdataserializer));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue