mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fixed Classic Checking
This commit is contained in:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user