From 0fcb2058cf7787ee582f2273379c628ff4add599 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 6 Nov 2016 10:36:38 +1100 Subject: [PATCH] SPIGOT-2757: Player#stopSound Stops All Sounds By: md_5 --- .../main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 52b2629c68..fd1b079e6d 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -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)); }