Fixed soil pick block. Closes #618
This commit is contained in:
parent
fbbdf44a4d
commit
64d1310e68
1 changed files with 7 additions and 0 deletions
|
@ -99,6 +99,13 @@ public class BlockBOPDirt extends Block implements IBOPBlock, ISustainsPlantType
|
|||
return (Boolean.TRUE.equals(state.getValue(COARSE)) ? 8 : 0) | ((BOPDirtType) state.getValue(VARIANT)).ordinal();
|
||||
}
|
||||
|
||||
// our blocks usually drop their current state as opposed to a single 'default' state
|
||||
@Override
|
||||
public int damageDropped(IBlockState state)
|
||||
{
|
||||
return this.getMetaFromState(state);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canSustainPlantType(IBlockAccess world, BlockPos pos, EnumPlantType plantType)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue