Fixed building
This commit is contained in:
parent
4310c66603
commit
077a4164c4
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class BlockBOPDoubleOtherSlab extends BlockBOPHalfOtherSlab
|
||||||
public List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
|
public List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
|
||||||
{
|
{
|
||||||
List<ItemStack> ret = new ArrayList<ItemStack>();
|
List<ItemStack> ret = new ArrayList<ItemStack>();
|
||||||
SlabType type = state.getValue(BlockBOPHalfOtherSlab.VARIANT);
|
SlabType type = (SlabType)state.getValue(BlockBOPHalfOtherSlab.VARIANT);
|
||||||
IBlockState halfState = BOPBlocks.other_slab.getDefaultState().withProperty(BlockBOPHalfOtherSlab.VARIANT, type);
|
IBlockState halfState = BOPBlocks.other_slab.getDefaultState().withProperty(BlockBOPHalfOtherSlab.VARIANT, type);
|
||||||
|
|
||||||
//Drop two of the corresponding half slab for this block
|
//Drop two of the corresponding half slab for this block
|
||||||
|
|
Loading…
Reference in a new issue