mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Cleanup...
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user