Fixed Classic Checking

This commit is contained in:
tommy1019 2013-08-09 12:25:56 -05:00
parent aab3385c2d
commit efb27ed1ea

View file

@ -1,4 +1,3 @@
package net.minecraftforge.fluids;
import java.util.Random;
@ -304,7 +303,13 @@ public class BlockFluidClassic extends BlockFluidBase
return false;
}
if (this.density > getDensity(world, x, y, z))
int density = getDensity(world, x, y, z);
if (density == Integer.MAX_VALUE)
{
return true;
}
if (this.density > density)
{
return true;
}