@@ -1,8 +1,8 @@
|
||||
--- a/net/minecraft/server/DispenserRegistry.java
|
||||
+++ b/net/minecraft/server/DispenserRegistry.java
|
||||
@@ -34,6 +34,12 @@
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
@@ -33,6 +33,12 @@
|
||||
import net.minecraft.world.level.levelgen.placement.PlacedFeature;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
+// CraftBukkit start
|
||||
+import net.minecraft.util.datafix.fixes.DataConverterFlattenData;
|
||||
@@ -13,7 +13,7 @@
|
||||
public class DispenserRegistry {
|
||||
|
||||
public static final PrintStream STDOUT = System.out;
|
||||
@@ -44,6 +50,23 @@
|
||||
@@ -43,6 +49,23 @@
|
||||
|
||||
public static void bootStrap() {
|
||||
if (!DispenserRegistry.isBootstrapped) {
|
||||
@@ -37,8 +37,8 @@
|
||||
DispenserRegistry.isBootstrapped = true;
|
||||
if (IRegistry.REGISTRY.keySet().isEmpty()) {
|
||||
throw new IllegalStateException("Unable to load registries");
|
||||
@@ -61,6 +84,69 @@
|
||||
TagStatic.bootStrap();
|
||||
@@ -60,6 +83,69 @@
|
||||
IRegistry.freezeBuiltins();
|
||||
wrapStreams();
|
||||
}
|
||||
+ // CraftBukkit start - easier than fixing the decompile
|
||||
|
||||
Reference in New Issue
Block a user