Sub-200 errors

This commit is contained in:
Vincent Lee committed 2017-06-17 10:23:04 -05:00
1 parent 174fdfd2a5
commit f3cd87e499
55 files changed
+79 -125

No files matched your search

@@ -184,7 +184,7 @@ public abstract class BlockModDoubleFlower extends BlockDoublePlant implements I
@SideOnly(Side.CLIENT)
public void randomDisplayTick(IBlockState state, World world, BlockPos pos, Random rand) {
state = getActualState(state, world, pos);
int hex = state.getValue(second ? BotaniaStateProps.DOUBLEFLOWER_VARIANT_2 : BotaniaStateProps.DOUBLEFLOWER_VARIANT_1).getMapColor().colorValue;
int hex = state.getValue(second ? BotaniaStateProps.DOUBLEFLOWER_VARIANT_2 : BotaniaStateProps.DOUBLEFLOWER_VARIANT_1).getColorValue();
int r = (hex & 0xFF0000) >> 16;
int g = (hex & 0xFF00) >> 8;
int b = hex & 0xFF;