mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-04-13 09:41:09 +00:00
#1074: Make Sound an interface
This commit is contained in:
parent
97c5926140
commit
c389f5a493
2 changed files with 1689 additions and 1651 deletions
|
@ -242,7 +242,7 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
|||
*
|
||||
* @see Sound
|
||||
*/
|
||||
Registry<Sound> SOUNDS = new SimpleRegistry<>(Sound.class);
|
||||
Registry<Sound> SOUNDS = Objects.requireNonNull(Bukkit.getRegistry(Sound.class), "No registry present for Sound. This is a bug.");
|
||||
/**
|
||||
* Trim materials.
|
||||
*
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue