2017-05-14 20:05:01 +02:00
|
|
|
From 2584f2a43ff84bf1511982c31e4aa486a7591648 Mon Sep 17 00:00:00 2001
|
2017-01-14 08:24:11 +01: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-04-29 12:27:31 +02:00
|
|
|
index c93754704..a3b958e01 100644
|
2017-01-14 08:24:11 +01: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-05-14 20:05:01 +02:00
|
|
|
2.13.0
|
2017-01-14 08:24:11 +01:00
|
|
|
|