Auto-fix formatting

This commit is contained in:
mezz committed 2016-10-30 20:56:03 -07:00
1 parent 697ccabf53
commit 975309598a
25 files changed
+89 -104

No files matched your search

@@ -155,15 +155,15 @@ public class BlockSoil extends Block implements IBlockSoil, IItemModelRegister {
world.setBlockState(pos.up(), Botany.plant.getStateFromMeta(BlockPlant.Type.Weeds.ordinal()), 2);
}
}
@Override
public void neighborChanged(IBlockState state, World worldIn, BlockPos pos, Block blockIn){
super.neighborChanged(state, worldIn, pos, blockIn);
if (worldIn.getBlockState(pos.up()).getMaterial().isSolid()){
worldIn.setBlockState(pos, Blocks.DIRT.getDefaultState());
}
}
@Override
public void neighborChanged(IBlockState state, World worldIn, BlockPos pos, Block blockIn) {
super.neighborChanged(state, worldIn, pos, blockIn);
if (worldIn.getBlockState(pos.up()).getMaterial().isSolid()) {
worldIn.setBlockState(pos, Blocks.DIRT.getDefaultState());
}
}
@Override
public boolean isOpaqueCube(IBlockState state) {