Cleanup...

This commit is contained in:
Lizbeth Rika committed 2015-05-01 00:58:12 +01:00
1 parent 6c45975558
commit 861f40e64c
78 files changed
+367 -397

No files matched your search

@@ -148,12 +148,12 @@ public class BlockModFlower extends BlockFlower implements ILexiconable, IPickup
int meta = world.getBlockMetadata(x, y, z);
placeDoubleFlower(world, x, y, z, meta, 1 | 2);
}
public static void placeDoubleFlower(World world, int x, int y, int z, int meta, int flags) {
Block flower = meta >= 8 ? ModBlocks.doubleFlower2 : ModBlocks.doubleFlower1;
int placeMeta = meta & 7;
world.setBlock(x, y, z, flower, placeMeta, flags);
world.setBlock(x, y + 1, z, flower, placeMeta | 8, flags);
}
}