Fix withers breaking bedrock. Closes #2813
This commit is contained in:
parent
e98cd386e0
commit
4d27393c91
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue