mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 05:32:18 -07:00
#997: Change wolf variant from enum to interface
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -271,7 +271,7 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
||||
*
|
||||
* @see Wolf.Variant
|
||||
*/
|
||||
Registry<Wolf.Variant> WOLF_VARIANT = new SimpleRegistry<>(Wolf.Variant.class);
|
||||
Registry<Wolf.Variant> WOLF_VARIANT = Objects.requireNonNull(Bukkit.getRegistry(Wolf.Variant.class), "No registry present for Wolf Variant. This is a bug.");
|
||||
/**
|
||||
* Map cursor types.
|
||||
*
|
||||
|
Reference in New Issue
Block a user