Fixed chests being replaced when trees grew.

This commit is contained in:
LexManos committed 2016-06-25 10:36:59 -07:00
1 parent 8e3bc83c3b
commit 7f30e76dad
1 file changed
+1 -1
@@ -687,7 +687,7 @@
+ */
+ public boolean canBeReplacedByLeaves(IBlockState state, IBlockAccess world, BlockPos pos)
+ {
+ return !state.func_185913_b();
+ return isAir(state, world, pos) || isLeaves(state, world, pos); //!state.isFullBlock();
+ }
+
+ /**