mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
19972e09b8
5a0150f586ed3eb15fe6f1f596d1a5a7d806f0f9 Fix ITEM_BREAK e6a3911057bd94d8bd7021cbb4923fb84fb106d1 Upstream merge d1cdcf8d4c3639f956474f02ed662517cffbe23e Remove old patch 068df64aeee368377e1673667bffc7a6dcf90554 Rebuild all patches
22 lines
936 B
Diff
22 lines
936 B
Diff
From b00026fd4d2ee0827c2b68775bb4588aba80b93e 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 ecab5d1..dde9929 100644
|
|
--- a/src/main/java/net/minecraft/server/StructureGenerator.java
|
|
+++ b/src/main/java/net/minecraft/server/StructureGenerator.java
|
|
@@ -172,7 +172,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
|
|
|