mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-02 05:02:10 -07:00
SPIGOT-7837: Support data pack banner patterns
By: Doc <nachito94@msn.com>
This commit is contained in:
@@ -88,7 +88,7 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
||||
*
|
||||
* @see PatternType
|
||||
*/
|
||||
Registry<PatternType> BANNER_PATTERN = new SimpleRegistry<>(PatternType.class);
|
||||
Registry<PatternType> BANNER_PATTERN = Objects.requireNonNull(Bukkit.getRegistry(PatternType.class), "No registry present for Pattern Type. This is a bug.");
|
||||
/**
|
||||
* Server biomes.
|
||||
*
|
||||
|
Reference in New Issue
Block a user