@@ -1,7 +1,7 @@
|
||||
--- a/net/minecraft/server/DispenserRegistry.java
|
||||
+++ b/net/minecraft/server/DispenserRegistry.java
|
||||
@@ -32,6 +32,12 @@
|
||||
import net.minecraft.world.level.levelgen.placement.PlacedFeature;
|
||||
@@ -26,6 +26,12 @@
|
||||
import net.minecraft.world.level.block.BlockFire;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
+// CraftBukkit start
|
||||
@@ -13,7 +13,7 @@
|
||||
public class DispenserRegistry {
|
||||
|
||||
public static final PrintStream STDOUT = System.out;
|
||||
@@ -42,6 +48,23 @@
|
||||
@@ -36,6 +42,23 @@
|
||||
|
||||
public static void bootStrap() {
|
||||
if (!DispenserRegistry.isBootstrapped) {
|
||||
@@ -35,10 +35,10 @@
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
DispenserRegistry.isBootstrapped = true;
|
||||
if (IRegistry.REGISTRY.keySet().isEmpty()) {
|
||||
if (BuiltInRegistries.REGISTRY.keySet().isEmpty()) {
|
||||
throw new IllegalStateException("Unable to load registries");
|
||||
@@ -58,6 +81,69 @@
|
||||
IRegistry.freezeBuiltins();
|
||||
@@ -52,6 +75,69 @@
|
||||
BuiltInRegistries.bootStrap();
|
||||
wrapStreams();
|
||||
}
|
||||
+ // CraftBukkit start - easier than fixing the decompile
|
||||
|
||||
Reference in New Issue
Block a user