Fix digging blocks in survival.
This commit is contained in:
parent
28ae283b96
commit
7b0d8f09e9
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@
|
|||
IBlockState iblockstate = this.field_73092_a.func_180495_p(p_180785_1_);
|
||||
|
||||
- if (iblockstate.func_185904_a() != Material.field_151579_a)
|
||||
+ if (iblockstate.func_177230_c().isAir(iblockstate, field_73092_a, p_180785_1_))
|
||||
+ if (!iblockstate.func_177230_c().isAir(iblockstate, field_73092_a, p_180785_1_))
|
||||
{
|
||||
float f = iblockstate.func_185903_a(this.field_73090_b, this.field_73090_b.field_70170_p, p_180785_1_) * (float)(i + 1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue