aboutsummaryrefslogtreecommitdiffhomepage
path: root/CraftBukkit-Patches/0067-Prevent-Mineshaft-Saving.patch
diff options
context:
space:
mode:
Diffstat (limited to 'CraftBukkit-Patches/0067-Prevent-Mineshaft-Saving.patch')
-rw-r--r--CraftBukkit-Patches/0067-Prevent-Mineshaft-Saving.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/CraftBukkit-Patches/0067-Prevent-Mineshaft-Saving.patch b/CraftBukkit-Patches/0067-Prevent-Mineshaft-Saving.patch
new file mode 100644
index 0000000000..c384e8bfdb
--- /dev/null
+++ b/CraftBukkit-Patches/0067-Prevent-Mineshaft-Saving.patch
@@ -0,0 +1,22 @@
+From 89b7b6b5de036aeb7140204ef95288767c9b1a20 Mon Sep 17 00:00:00 2001
+From: md_5 <[email protected]>
+Date: Fri, 13 Dec 2013 15:21:02 +1100
+Subject: [PATCH] Prevent Mineshaft Saving
+
+
+diff --git a/src/main/java/net/minecraft/server/StructureGenerator.java b/src/main/java/net/minecraft/server/StructureGenerator.java
+index 4d336d8..f835b01 100644
+--- a/src/main/java/net/minecraft/server/StructureGenerator.java
++++ b/src/main/java/net/minecraft/server/StructureGenerator.java
+@@ -179,7 +179,7 @@ public abstract class StructureGenerator extends WorldGenBase {
+ private void a(World world) {
+ if (this.e == null) {
+ // Spigot Start
+- if ( world.spigotConfig.saveStructureInfo )
++ if ( world.spigotConfig.saveStructureInfo && !this.a().equals( "Mineshaft" ) )
+ {
+ this.e = (PersistentStructure) world.a(PersistentStructure.class, this.a());
+ } else
+--
+1.9.1
+