Skip to content

Commit

Permalink
Fix inverted logic preventing blocks from breaking.
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Nov 28, 2014
1 parent 8dc71d5 commit a059a9a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -69,7 +69,7 @@
Block block = this.field_73092_a.func_180495_p(p_180785_1_).func_177230_c();

- if (block.func_149688_o() != Material.field_151579_a)
+ if (block.isAir(field_73092_a, p_180785_1_))
+ if (!block.isAir(field_73092_a, p_180785_1_))
{
float f = block.func_180647_a(this.field_73090_b, this.field_73090_b.field_70170_p, p_180785_1_) * (float)(i + 1);

Expand Down

0 comments on commit a059a9a

Please sign in to comment.