ForgePatch/patches/minecraft/net/minecraft/entity/EntityHanging.java.patch

13 lines
739 B
Diff

--- ../src-base/minecraft/net/minecraft/entity/EntityHanging.java
+++ ../src-work/minecraft/net/minecraft/entity/EntityHanging.java
@@ -144,6 +144,9 @@
blockpos$mutableblockpos.func_189533_g(blockpos).func_189534_c(enumfacing, k + i1).func_189534_c(EnumFacing.UP, l + j1);
IBlockState iblockstate = this.field_70170_p.func_180495_p(blockpos$mutableblockpos);
+ if (iblockstate.isSideSolid(this.field_70170_p, blockpos$mutableblockpos, this.field_174860_b))
+ continue;
+
if (!iblockstate.func_185904_a().func_76220_a() && !BlockRedstoneDiode.func_185546_B(iblockstate))
{
return false;