Fixed Classic Checking

This commit is contained in:
tommy1019 committed 2013-08-09 12:25:56 -05:00
1 parent aab3385c2d
commit efb27ed1ea
1 file changed
+8 -3
@@ -1,4 +1,3 @@
package net.minecraftforge.fluids;
import java.util.Random;
@@ -304,9 +303,15 @@ 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;
return true;
}
if (this.density > density)
{
return true;
}
else
{