From bbe7c59189a5f0cc2aab47ab258b52d04df9bd1f Mon Sep 17 00:00:00 2001 From: Zach Brown 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 index c937547..a3b958e 100644 --- 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; -- 2.9.3