From b5db198f8b97618febd7a48a57cd4f64fdd23e25 Mon Sep 17 00:00:00 2001 From: LexManos Date: Sat, 13 Aug 2016 14:52:58 -0700 Subject: [PATCH] Fix vanilla bug in BlockFalling that caused blocks to loose state info during world gen. Closes #3183 --- .../net/minecraft/block/BlockFalling.java.patch | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/block/BlockFalling.java.patch b/patches/minecraft/net/minecraft/block/BlockFalling.java.patch index d4ae54f68..3aa85cd9a 100644 --- a/patches/minecraft/net/minecraft/block/BlockFalling.java.patch +++ b/patches/minecraft/net/minecraft/block/BlockFalling.java.patch @@ -9,7 +9,11 @@ { int i = 32; -@@ -65,7 +65,7 @@ +@@ -62,17 +62,18 @@ + } + else + { ++ IBlockState state = p_176503_1_.func_180495_p(p_176503_2_); p_176503_1_.func_175698_g(p_176503_2_); BlockPos blockpos; @@ -18,3 +22,11 @@ { ; } + + if (blockpos.func_177956_o() > 0) + { +- p_176503_1_.func_175656_a(blockpos.func_177984_a(), this.func_176223_P()); ++ p_176503_1_.func_175656_a(blockpos.func_177984_a(), state); //Forge: Fix loss of state information during world gen. + } + } + }