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
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue