mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 17:31:06 +01:00
22 lines
936 B
Diff
22 lines
936 B
Diff
From 25da61d4064c2034de29dc150103669386f6d6dd Mon Sep 17 00:00:00 2001
|
|
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
|
|
index bb1a11e..0f8211a 100644
|
|
--- a/src/main/java/net/minecraft/server/StructureGenerator.java
|
|
+++ b/src/main/java/net/minecraft/server/StructureGenerator.java
|
|
@@ -196,7 +196,7 @@ public abstract class StructureGenerator extends WorldGenBase {
|
|
private void a(World world) {
|
|
if (this.d == null) {
|
|
// Spigot Start
|
|
- if ( world.spigotConfig.saveStructureInfo )
|
|
+ if ( world.spigotConfig.saveStructureInfo && !this.a().equals( "Mineshaft" ) )
|
|
{
|
|
this.d = (PersistentStructure) world.a(PersistentStructure.class, this.a());
|
|
} else
|
|
--
|
|
2.1.0
|
|
|