Fix CraftSound backwards compatibility

This commit is contained in:
BillyGalbreath 2020-12-17 15:25:49 -06:00
parent 1f21f3032b
commit b22a956d7c

View File

@ -106,4 +106,10 @@ public class CraftSound implements Sound, Handleable<SoundEvent> {
public int hashCode() {
return this.getKey().hashCode();
}
// Paper start
public static String getSound(Sound sound) {
return sound.getKey().getKey();
}
// Paper end
}