From 0bb4d9fb8964c077acd2b37ed2fab05e8ddc8613 Mon Sep 17 00:00:00 2001 From: LexManos Date: Sat, 28 May 2016 23:46:00 -0700 Subject: [PATCH] Fixed village wells not having their biomes set. Closes #2499 --- .../gen/structure/StructureVillagePieces.java.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/patches/minecraft/net/minecraft/world/gen/structure/StructureVillagePieces.java.patch b/patches/minecraft/net/minecraft/world/gen/structure/StructureVillagePieces.java.patch index f6b56cbc2..638c98ef7 100644 --- a/patches/minecraft/net/minecraft/world/gen/structure/StructureVillagePieces.java.patch +++ b/patches/minecraft/net/minecraft/world/gen/structure/StructureVillagePieces.java.patch @@ -27,23 +27,24 @@ public Start() { -@@ -1460,6 +1466,7 @@ +@@ -1460,6 +1466,8 @@ this.field_74928_c = p_i2104_7_; Biome biome = p_i2104_1_.func_180300_a(new BlockPos(p_i2104_4_, 0, p_i2104_5_), Biomes.field_180279_ad); this.field_74927_b = biome == Biomes.field_76769_d || biome == Biomes.field_76786_s; + this.biome = biome; ++ this.startPiece = this; this.func_175846_a(this.field_74927_b); } -@@ -1520,6 +1527,7 @@ +@@ -1520,6 +1528,7 @@ protected int field_143015_k = -1; private int field_74896_a; private boolean field_143014_b; -+ private StructureVillagePieces.Start startPiece; ++ protected StructureVillagePieces.Start startPiece; public Village() { -@@ -1532,6 +1540,7 @@ +@@ -1532,6 +1541,7 @@ if (p_i2107_1_ != null) { this.field_143014_b = p_i2107_1_.field_74927_b; @@ -51,7 +52,7 @@ } } -@@ -1660,6 +1669,9 @@ +@@ -1660,6 +1670,9 @@ protected IBlockState func_175847_a(IBlockState p_175847_1_) {