mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 12:19:46 +00:00
Misc touchups everywhere. Move ModBanners in block pkg
This commit is contained in:
1 parent
bf81e002e8
commit
e679a2062d
32 files changed
+182
-178
No files matched your search
@@ -151,7 +151,7 @@ public class BlockModFlower extends BlockFlower implements ILexiconable, IPickup
|
||||
placeDoubleFlower(world, x, y, z, meta, 1 | 2);
|
||||
}
|
||||
|
||||
public static void placeDoubleFlower(World world, int x, int y, int z, int meta, int flags) {
|
||||
public static void placeDoubleFlower(World world, BlockPos pos, EnumDyeColor color, int flags) {
|
||||
Block flower = meta >= 8 ? ModBlocks.doubleFlower2 : ModBlocks.doubleFlower1;
|
||||
int placeMeta = meta & 7;
|
||||
world.setBlock(x, y, z, flower, placeMeta, flags);
|
||||
|
||||
Reference in new issue
Block a user