fix quicksand block drop
This commit is contained in:
parent
a9d51fe446
commit
cb7aa39b01
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue