mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Panes, and fixes so no crashes in debug world
This commit is contained in:
1 parent
0887191a64
commit
cfaeecc41a
19 files changed
+160
-23
No files matched your search
@@ -31,6 +31,6 @@ public class BlockModDoubleFlower1 extends BlockModDoubleFlower {
|
||||
public IBlockState getStateFromMeta(int meta) {
|
||||
BlockDoublePlant.EnumBlockHalf half = (meta & 8) > 0 ? BlockDoublePlant.EnumBlockHalf.UPPER : BlockDoublePlant.EnumBlockHalf.LOWER;
|
||||
meta &= -9;
|
||||
return getDefaultState().withProperty(HALF, half).withProperty(BotaniaStateProps.DOUBLEFLOWER_VARIANT_2, EnumDyeColor.byMetadata(meta));
|
||||
return getDefaultState().withProperty(HALF, half).withProperty(BotaniaStateProps.DOUBLEFLOWER_VARIANT_1, EnumDyeColor.byMetadata(meta));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user