diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 02c7b8a892..d5d43c9a60 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -259,6 +259,9 @@ public class CraftPlayer extends CraftHumanEntity implements Player { } public void playSound(Location loc, Sound sound, float volume, float pitch) { + if (sound == null) { + return; + } playSound(loc, CraftSound.getSound(sound), volume, pitch); }