Commits
DerFrZocker authored and md_5 committed c389f5a4935
235 235 | * Server structure types. |
236 236 | * |
237 237 | * @see StructureType |
238 238 | */ |
239 239 | Registry<StructureType> STRUCTURE_TYPE = Objects.requireNonNull(Bukkit.getRegistry(StructureType.class), "No registry present for StructureType. This is a bug."); |
240 240 | /** |
241 241 | * Sound keys. |
242 242 | * |
243 243 | * @see Sound |
244 244 | */ |
245 - | Registry<Sound> SOUNDS = new SimpleRegistry<>(Sound.class); |
245 + | Registry<Sound> SOUNDS = Objects.requireNonNull(Bukkit.getRegistry(Sound.class), "No registry present for Sound. This is a bug."); |
246 246 | /** |
247 247 | * Trim materials. |
248 248 | * |
249 249 | * @see TrimMaterial |
250 250 | */ |
251 251 | Experimental | .
252 252 | Registry<TrimMaterial> TRIM_MATERIAL = Objects.requireNonNull(Bukkit.getRegistry(TrimMaterial.class), "No registry present for TrimMaterial. This is a bug."); |
253 253 | /** |
254 254 | * Trim patterns. |
255 255 | * |