testserver/Spigot-Server-Patches/0176-Assign-the-World-in-Wo...

23 lines
852 B
Diff
Raw Normal View History

2018-07-17 20:32:05 +00:00
From eb5e873163442ce0fe19f3f1d9563c834542fd5d Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com>
Date: Sat, 14 Jan 2017 01:22:07 -0600
Subject: [PATCH] Assign the World in WorldGenStronghold
diff --git a/src/main/java/net/minecraft/server/WorldGenStronghold.java b/src/main/java/net/minecraft/server/WorldGenStronghold.java
2018-07-17 20:32:05 +00:00
index 8b285bdd4..b6e60e9df 100644
--- a/src/main/java/net/minecraft/server/WorldGenStronghold.java
+++ b/src/main/java/net/minecraft/server/WorldGenStronghold.java
2018-07-17 20:32:05 +00:00
@@ -80,7 +80,7 @@ public class WorldGenStronghold extends StructureGenerator<WorldGenFeatureStrong
if (this.d != world.getSeed()) {
this.c();
}
-
+ this.g = world; // Paper
if (!this.b) {
this.a(chunkgenerator);
this.b = true;
--
2.18.0