mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 05:32:18 -07:00
#1071: Make Fluid an interface and add missing entry
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -323,7 +323,7 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
||||
*
|
||||
* @see Fluid
|
||||
*/
|
||||
Registry<Fluid> FLUID = new SimpleRegistry<>(Fluid.class);
|
||||
Registry<Fluid> FLUID = Objects.requireNonNull(Bukkit.getRegistry(Fluid.class), "No registry present for Fluid. This is a bug.");
|
||||
/**
|
||||
* Frog variants.
|
||||
*
|
||||
|
Reference in New Issue
Block a user