mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Actually adding Nether Quartz to Mining for double drops.
This commit is contained in:
parent
92c6a7bfcf
commit
9f55c25775
@ -67,6 +67,7 @@ public class Mining {
|
|||||||
case LAPIS_ORE:
|
case LAPIS_ORE:
|
||||||
case STONE:
|
case STONE:
|
||||||
case EMERALD_ORE:
|
case EMERALD_ORE:
|
||||||
|
case QUARTZ_ORE:
|
||||||
Misc.dropItem(blockState.getLocation(), new ItemStack(blockType));
|
Misc.dropItem(blockState.getLocation(), new ItemStack(blockType));
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -101,6 +102,7 @@ public class Mining {
|
|||||||
case NETHERRACK:
|
case NETHERRACK:
|
||||||
case OBSIDIAN:
|
case OBSIDIAN:
|
||||||
case SANDSTONE:
|
case SANDSTONE:
|
||||||
|
case QUARTZ_ORE:
|
||||||
for (ItemStack drop : blockState.getBlock().getDrops()) {
|
for (ItemStack drop : blockState.getBlock().getDrops()) {
|
||||||
Misc.dropItem(location, drop);
|
Misc.dropItem(location, drop);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user