mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Fix drops for stone types added in 1.8
This commit is contained in:
parent
ecfdd75e36
commit
ccb2dc0afd
@ -64,7 +64,12 @@ public class Mining {
|
|||||||
case QUARTZ_ORE:
|
case QUARTZ_ORE:
|
||||||
case REDSTONE_ORE:
|
case REDSTONE_ORE:
|
||||||
case STONE:
|
case STONE:
|
||||||
Misc.dropItem(blockState.getLocation(), new ItemStack(blockType));
|
if (blockState.getData().getData() == 0x0) {
|
||||||
|
Misc.dropItem(blockState.getLocation(), new ItemStack(blockType));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
handleMiningDrops(blockState);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user