From b0976142993a4a7d536b75dc04945792e2d7c9e7 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 21 Sep 2013 12:58:36 +1000 Subject: [PATCH] Don't let it manually re-register a map file --- .../0072-Allow-Disabling-of-1.6.3-Structure-Saving.patch | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CraftBukkit-Patches/0072-Allow-Disabling-of-1.6.3-Structure-Saving.patch b/CraftBukkit-Patches/0072-Allow-Disabling-of-1.6.3-Structure-Saving.patch index a047b319b..3c6f1d1e3 100644 --- a/CraftBukkit-Patches/0072-Allow-Disabling-of-1.6.3-Structure-Saving.patch +++ b/CraftBukkit-Patches/0072-Allow-Disabling-of-1.6.3-Structure-Saving.patch @@ -1,14 +1,14 @@ -From 6aa4aae7c4df947c6495129a665462324da1f45e Mon Sep 17 00:00:00 2001 +From 79440ab42fc945d2efec96be6ec3bb7667c18e71 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 21 Sep 2013 12:33:09 +1000 Subject: [PATCH] Allow Disabling of 1.6.3 Structure Saving diff --git a/src/main/java/net/minecraft/server/StructureGenerator.java b/src/main/java/net/minecraft/server/StructureGenerator.java -index ab4dc19..8fe8c13 100644 +index ab4dc19..cb8ff49 100644 --- a/src/main/java/net/minecraft/server/StructureGenerator.java +++ b/src/main/java/net/minecraft/server/StructureGenerator.java -@@ -178,7 +178,12 @@ public abstract class StructureGenerator extends WorldGenBase { +@@ -178,7 +178,15 @@ public abstract class StructureGenerator extends WorldGenBase { private void a(World world) { if (this.e == null) { @@ -17,6 +17,9 @@ index ab4dc19..8fe8c13 100644 + if ( world.spigotConfig.saveStructureInfo ) + { + this.e = (WorldGenFeature) world.a( WorldGenFeature.class, this.a() ); ++ } else ++ { ++ this.e = new WorldGenFeature( this.a() ); + } + // Spigot End if (this.e == null) {