<1000 errors

This commit is contained in:
aidancbrady committed 2016-05-24 23:35:37 -04:00
1 parent c6a09b5658
commit af008b9395
99 files changed
+470 -484

No files matched your search

@@ -25,7 +25,7 @@ public class WorldGenSalt extends WorldGenerator
@Override
public boolean generate(World world, Random random, BlockPos pos)
{
if(world.getBlockState(pos).getBlock().getMaterial() != Material.water)
if(world.getBlockState(pos).getMaterial() != Material.WATER)
{
return false;
}
@@ -47,7 +47,7 @@ public class WorldGenSalt extends WorldGenerator
BlockPos newPos = new BlockPos(xPos, yPos, zPos);
Block block = world.getBlockState(newPos).getBlock();
if(block == Blocks.dirt || block == Blocks.clay || block == MekanismBlocks.SaltBlock)
if(block == Blocks.DIRT || block == Blocks.CLAY || block == MekanismBlocks.SaltBlock)
{
world.setBlockState(newPos, blockGen.getDefaultState(), 2);
}