Skip to content

Commit

Permalink
Fix outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
josephcsible committed Jul 16, 2016
1 parent a3e6a53 commit e60d120
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private static void transformVanillaUpdateTick(MethodNode mn) {
We're trying to change this:
if (this.field_149815_a >= 2 && this.blockMaterial == Material.water)
to this:
if (this.field_149815_a >= 2 && InfiniteFluidsHooks.shouldCreateSourceBlock(this, worldIn, x, y, z, rand))
if (this.field_149815_a >= 2 && InfiniteFluidsHooks.fluidIsInfinite(this, worldIn))
Here's the relevant piece of the bytecode:
L18
Expand Down

0 comments on commit e60d120

Please sign in to comment.