From 88a5346feafd9517adb9347be6233460dbf45744 Mon Sep 17 00:00:00 2001 From: Senmori Date: Fri, 21 Sep 2018 08:49:54 -0400 Subject: Add API to locate structures. --- nms-patches/WorldGenFactory.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nms-patches/WorldGenFactory.patch (limited to 'nms-patches') diff --git a/nms-patches/WorldGenFactory.patch b/nms-patches/WorldGenFactory.patch new file mode 100644 index 00000000..ff610567 --- /dev/null +++ b/nms-patches/WorldGenFactory.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/server/WorldGenFactory.java ++++ b/net/minecraft/server/WorldGenFactory.java +@@ -9,7 +9,7 @@ + public class WorldGenFactory { + + private static final Logger a = LogManager.getLogger(); +- private static final Map> b = Maps.newHashMap(); ++ public static final Map> b = Maps.newHashMap(); // CraftBukkit private -> public + private static final Map, String> c = Maps.newHashMap(); + private static final Map> d = Maps.newHashMap(); + private static final Map, String> e = Maps.newHashMap(); -- cgit v1.2.3