Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-2757: Player#stopSound Stops All Sounds
Dieser Commit ist enthalten in:
Ursprung
33071ecfff
Commit
cb2749768e
@ -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));
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren