Panes, and fixes so no crashes in debug world

This commit is contained in:
Vincent Lee committed 2015-12-23 16:03:07 -06:00
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));
}
}