2014-04-07 01:42:16 +02:00
|
|
|
From 73eb7c52c528f150fe3c3c601c2ec53b4cf1e10b Mon Sep 17 00:00:00 2001
|
2013-12-13 05:22:51 +01: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-03-26 21:34:47 +01:00
|
|
|
index 4d336d8..f835b01 100644
|
2013-12-13 05:22:51 +01:00
|
|
|
--- 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
|
|
|
|
--
|
2014-03-26 21:34:47 +01:00
|
|
|
1.8.5.2.msysgit.0
|
2013-12-13 05:22:51 +01:00
|
|
|
|