Skip to content

Commit

Permalink
Fix withers breaking bedrock. Closes MinecraftForge#2813
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed May 3, 2016
1 parent e98cd38 commit 4d27393
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 4d27393

Please sign in to comment.