Fixed pick block for flax and eyebulb upper half
This commit is contained in:
parent
d98ec78ccd
commit
cf39e12de8
1 changed files with 2 additions and 2 deletions
|
@ -236,9 +236,9 @@ public class BlockBOPDoublePlant extends BlockBOPDoubleDecoration implements ISh
|
||||||
{
|
{
|
||||||
case TALL_CATTAIL:
|
case TALL_CATTAIL:
|
||||||
return new ItemStack(BOPBlocks.plant_1, 1, BlockBOPPlant.paging.getIndex(BOPPlants.CATTAIL));
|
return new ItemStack(BOPBlocks.plant_1, 1, BlockBOPPlant.paging.getIndex(BOPPlants.CATTAIL));
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return new ItemStack(this, 1, this.getMetaFromState(world.getBlockState(pos)));
|
return new ItemStack(this, 1, ((DoublePlantType) state.getValue(VARIANT)).ordinal());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue