mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Protect placeStore. It's ugly and still needs work.
This commit is contained in:
@ -51,7 +51,7 @@ public class BlastMiningDropEventHandler {
|
||||
McMMOPlayer mcMMOPlayer = manager.getMcMMOPlayer();
|
||||
|
||||
for (Block block : droppedOres) {
|
||||
if (!mcMMO.placeStore.isTrue(block)) {
|
||||
if (!mcMMO.p.isPlaced(block)) {
|
||||
Mining.miningXP(mcMMOPlayer, block, block.getType());
|
||||
}
|
||||
}
|
||||
@ -66,7 +66,7 @@ public class BlastMiningDropEventHandler {
|
||||
droppedOres.add(block);
|
||||
Mining.miningDrops(block, location, type);
|
||||
|
||||
if (!mcMMO.placeStore.isTrue(block)) {
|
||||
if (!mcMMO.p.isPlaced(block)) {
|
||||
for (int i = 1 ; i < dropMultiplier ; i++) {
|
||||
droppedOres.add(block);
|
||||
Mining.miningDrops(block, location, type);
|
||||
|
Reference in New Issue
Block a user