Fixed pick block for flax and eyebulb upper half

This commit is contained in:
GirafiStudios 2016-11-02 21:21:11 +01:00
parent d98ec78ccd
commit cf39e12de8

View file

@ -238,7 +238,7 @@ public class BlockBOPDoublePlant extends BlockBOPDoubleDecoration implements ISh
return new ItemStack(BOPBlocks.plant_1, 1, BlockBOPPlant.paging.getIndex(BOPPlants.CATTAIL));
default:
return new ItemStack(this, 1, this.getMetaFromState(world.getBlockState(pos)));
return new ItemStack(this, 1, ((DoublePlantType) state.getValue(VARIANT)).ordinal());
}
}