diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftSound.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftSound.java index e53d6d33bf..5b6e6902db 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftSound.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftSound.java @@ -106,4 +106,10 @@ public class CraftSound implements Sound, Handleable { public int hashCode() { return this.getKey().hashCode(); } + + // Paper start + public static String getSound(Sound sound) { + return sound.getKey().getKey(); + } + // Paper end }