mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 19:15:32 +00:00
Update mappoings snapshot to 20160518
This commit is contained in:
1 parent
b9ac73b0f1
commit
cdc86e9af6
60 files changed
+514
-810
No files matched your search
@@ -43,7 +43,7 @@ public class BlockFluidClassic extends BlockFluidBase
|
||||
public int getQuantaValue(IBlockAccess world, BlockPos pos)
|
||||
{
|
||||
IBlockState state = world.getBlockState(pos);
|
||||
if (state.getBlock() == Blocks.air)
|
||||
if (state.getBlock() == Blocks.AIR)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -291,9 +291,9 @@ public class BlockFluidClassic extends BlockFluidBase
|
||||
|
||||
Material material = state.getMaterial();
|
||||
if (material.blocksMovement() ||
|
||||
material == Material.water ||
|
||||
material == Material.lava ||
|
||||
material == Material.portal)
|
||||
material == Material.WATER ||
|
||||
material == Material.LAVA ||
|
||||
material == Material.PORTAL)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user