mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
Assign the World in WorldGenStronghold
Fixes GH-580
This commit is contained in:
parent
fe2f82587d
commit
ce10eb73f0
2 changed files with 20 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <1254957+zachbr@users.noreply.github.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
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/net/minecraft/server/WorldGenStronghold.java
|
||||
+++ b/src/main/java/net/minecraft/server/WorldGenStronghold.java
|
||||
@@ -0,0 +0,0 @@ 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;
|
||||
--
|
|
@ -84,6 +84,7 @@ import PersistentVillage
|
|||
import RemoteControlListener
|
||||
import TileEntityEnderChest
|
||||
import TileEntityLootable
|
||||
import WorldGenStronghold
|
||||
import WorldProvider
|
||||
|
||||
cd "$workdir/Spigot/Spigot-Server/"
|
||||
|
|
Loading…
Reference in a new issue