Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Don't let it manually re-register a map file
Dieser Commit ist enthalten in:
Ursprung
e116075866
Commit
b097614299
@ -1,14 +1,14 @@
|
|||||||
From 6aa4aae7c4df947c6495129a665462324da1f45e Mon Sep 17 00:00:00 2001
|
From 79440ab42fc945d2efec96be6ec3bb7667c18e71 Mon Sep 17 00:00:00 2001
|
||||||
From: md_5 <md_5@live.com.au>
|
From: md_5 <md_5@live.com.au>
|
||||||
Date: Sat, 21 Sep 2013 12:33:09 +1000
|
Date: Sat, 21 Sep 2013 12:33:09 +1000
|
||||||
Subject: [PATCH] Allow Disabling of 1.6.3 Structure Saving
|
Subject: [PATCH] Allow Disabling of 1.6.3 Structure Saving
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/StructureGenerator.java b/src/main/java/net/minecraft/server/StructureGenerator.java
|
diff --git a/src/main/java/net/minecraft/server/StructureGenerator.java b/src/main/java/net/minecraft/server/StructureGenerator.java
|
||||||
index ab4dc19..8fe8c13 100644
|
index ab4dc19..cb8ff49 100644
|
||||||
--- a/src/main/java/net/minecraft/server/StructureGenerator.java
|
--- a/src/main/java/net/minecraft/server/StructureGenerator.java
|
||||||
+++ b/src/main/java/net/minecraft/server/StructureGenerator.java
|
+++ b/src/main/java/net/minecraft/server/StructureGenerator.java
|
||||||
@@ -178,7 +178,12 @@ public abstract class StructureGenerator extends WorldGenBase {
|
@@ -178,7 +178,15 @@ public abstract class StructureGenerator extends WorldGenBase {
|
||||||
|
|
||||||
private void a(World world) {
|
private void a(World world) {
|
||||||
if (this.e == null) {
|
if (this.e == null) {
|
||||||
@ -17,6 +17,9 @@ index ab4dc19..8fe8c13 100644
|
|||||||
+ if ( world.spigotConfig.saveStructureInfo )
|
+ if ( world.spigotConfig.saveStructureInfo )
|
||||||
+ {
|
+ {
|
||||||
+ this.e = (WorldGenFeature) world.a( WorldGenFeature.class, this.a() );
|
+ this.e = (WorldGenFeature) world.a( WorldGenFeature.class, this.a() );
|
||||||
|
+ } else
|
||||||
|
+ {
|
||||||
|
+ this.e = new WorldGenFeature( this.a() );
|
||||||
+ }
|
+ }
|
||||||
+ // Spigot End
|
+ // Spigot End
|
||||||
if (this.e == null) {
|
if (this.e == null) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren