aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0201-Assign-the-World-in-WorldGenStronghold.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Spigot-Server-Patches/0201-Assign-the-World-in-WorldGenStronghold.patch')
-rw-r--r--Spigot-Server-Patches/0201-Assign-the-World-in-WorldGenStronghold.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/Spigot-Server-Patches/0201-Assign-the-World-in-WorldGenStronghold.patch b/Spigot-Server-Patches/0201-Assign-the-World-in-WorldGenStronghold.patch
new file mode 100644
index 0000000000..42f28093a2
--- /dev/null
+++ b/Spigot-Server-Patches/0201-Assign-the-World-in-WorldGenStronghold.patch
@@ -0,0 +1,21 @@
+From b1ccee575e8f9add6c6291635bd8448320047218 Mon Sep 17 00:00:00 2001
+From: Zach Brown <[email protected]>
+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 c93754704..a3b958e01 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.12.2
+