Fix digging blocks in survival.
This commit is contained in:
parent
28ae283b96
commit
7b0d8f09e9
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@
|
|||
+ this.field_73092_a.func_175719_a((EntityPlayer)null, p_180784_1_, p_180784_2_);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ {
|
||||
+ field_73090_b.field_71135_a.func_147359_a(new SPacketBlockChange(field_73092_a, p_180784_1_));
|
||||
+ }
|
||||
f = iblockstate.func_185903_a(this.field_73090_b, this.field_73090_b.field_70170_p, p_180784_1_);
|
||||
|
@ -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