mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
Fixed blast mining trying to drop non-items
This commit is contained in:
@ -204,7 +204,7 @@ public class MiningManager extends SkillManager {
|
||||
if (isDropIllegal(blockState.getType()))
|
||||
continue;
|
||||
|
||||
if (Probability.ofPercent(50).evaluate()) {
|
||||
if (blockState.getType().isItem() && Probability.ofPercent(50).evaluate()) {
|
||||
ItemUtils.spawnItem(getPlayer(),
|
||||
Misc.getBlockCenter(blockState),
|
||||
new ItemStack(blockState.getType()),
|
||||
|
Reference in New Issue
Block a user