mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-15 07:01:36 +08:00
23 lines
938 B
Diff
23 lines
938 B
Diff
From 1044478f8b2dc088f39c504c3b61cb35e2dc356d 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 b3c8101..2a6a571 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.8.3.2
|
|
|