mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
Fix withers breaking bedrock. Closes #2813
This commit is contained in:
1 parent
e98cd386e0
commit
4d27393c91
1 file changed
+1
-1
@@ -5,7 +5,7 @@
|
||||
Block block = iblockstate.func_177230_c();
|
||||
|
||||
- if (iblockstate.func_185904_a() != Material.field_151579_a && func_181033_a(block))
|
||||
+ if (!block.isAir(iblockstate, this.field_70170_p, blockpos))
|
||||
+ if (!block.isAir(iblockstate, this.field_70170_p, blockpos) && block.canEntityDestroy(iblockstate, field_70170_p, blockpos, this))
|
||||
{
|
||||
flag = this.field_70170_p.func_175655_b(blockpos, true) || flag;
|
||||
}
|
||||
Reference in new issue
Block a user