2017-06-19 09:36:55 +08:00
|
|
|
From a1fd6bc296e1ae98223d0883f63e7eec6b96f1a1 Mon Sep 17 00:00:00 2001
|
2017-01-14 15:24:11 +08:00
|
|
|
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
|
2017-06-19 09:36:55 +08:00
|
|
|
index c9375470..a3b958e0 100644
|
2017-01-14 15:24:11 +08:00
|
|
|
--- a/src/main/java/net/minecraft/server/WorldGenStronghold.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/WorldGenStronghold.java
|
|
|
|
@@ -56,6 +56,7 @@ public class WorldGenStronghold extends StructureGenerator {
|
|
|
|
}
|
|
|
|
|
|
|
|
public BlockPosition getNearestGeneratedFeature(World world, BlockPosition blockposition, boolean flag) {
|
|
|
|
+ this.g = world; // Paper
|
|
|
|
if (!this.b) {
|
|
|
|
this.c();
|
|
|
|
this.b = true;
|
|
|
|
--
|
2017-06-19 09:36:55 +08:00
|
|
|
2.13.1.windows.2
|
2017-01-14 15:24:11 +08:00
|
|
|
|