2014-11-29 00:06:26 +00:00
|
|
|
From acccbf3a5331907ed855cafc8fba8b6ce8e995e7 Mon Sep 17 00:00:00 2001
|
2014-07-21 20:46:54 +00:00
|
|
|
From: md_5 <git@md-5.net>
|
|
|
|
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
|
2014-11-28 01:17:45 +00:00
|
|
|
index ecab5d1..dde9929 100644
|
2014-07-21 20:46:54 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/StructureGenerator.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/StructureGenerator.java
|
2014-11-28 01:17:45 +00:00
|
|
|
@@ -172,7 +172,7 @@ public abstract class StructureGenerator extends WorldGenBase {
|
2014-07-21 20:46:54 +00:00
|
|
|
private void a(World world) {
|
2014-11-28 01:17:45 +00:00
|
|
|
if (this.d == null) {
|
2014-07-21 20:46:54 +00:00
|
|
|
// Spigot Start
|
|
|
|
- if ( world.spigotConfig.saveStructureInfo )
|
|
|
|
+ if ( world.spigotConfig.saveStructureInfo && !this.a().equals( "Mineshaft" ) )
|
|
|
|
{
|
2014-11-28 01:17:45 +00:00
|
|
|
this.d = (PersistentStructure) world.a(PersistentStructure.class, this.a());
|
2014-07-21 20:46:54 +00:00
|
|
|
} else
|
|
|
|
--
|
2014-11-28 01:17:45 +00:00
|
|
|
2.1.0
|
2014-07-21 20:46:54 +00:00
|
|
|
|