fix quicksand block drop

This commit is contained in:
Cheeserolls 2015-03-26 02:04:32 +00:00
parent a9d51fe446
commit cb7aa39b01
1 changed files with 9 additions and 1 deletions

View File

@ -121,7 +121,15 @@ public class BlockMud extends BOPBlock
@Override
public Item getItemDropped(IBlockState state, Random rand, int fortune)
{
return BOPItems.mudball;
switch ((MudType) state.getValue(VARIANT_PROP))
{
case MUD:
return BOPItems.mudball;
case QUICKSAND:
break;
}
return super.getItemDropped(state,rand,fortune);
}
@Override