Fixed building

This commit is contained in:
Adubbz 2016-01-23 18:17:44 +11:00
parent 4310c66603
commit 077a4164c4

View file

@ -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