mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fixed a bug where Triple Drops wouldn't happen.
This commit is contained in:
parent
b11762da99
commit
abb0184e49
@ -157,7 +157,7 @@ public class MiningManager extends SkillManager{
|
||||
|
||||
SuperBreakerEventHandler eventHandler = new SuperBreakerEventHandler(this, block);
|
||||
|
||||
if (eventHandler.tierCheck()) {
|
||||
if (!eventHandler.tierCheck()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,6 @@ public class SuperBreakerEventHandler {
|
||||
|
||||
protected void processDropsAndXP() {
|
||||
manager.miningBlockCheck(block);
|
||||
manager.miningBlockCheck(block); //Triple drops
|
||||
}
|
||||
|
||||
protected void playSpoutSound() {
|
||||
@ -75,7 +74,7 @@ public class SuperBreakerEventHandler {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
switch (blockType) {
|
||||
case OBSIDIAN:
|
||||
if (tier < Mining.DIAMOND_TOOL_TIER) {
|
||||
@ -100,7 +99,7 @@ public class SuperBreakerEventHandler {
|
||||
}
|
||||
/* FALL THROUGH */
|
||||
|
||||
case COAL_ORE:
|
||||
case COAL_ORE:
|
||||
case ENDER_STONE:
|
||||
case GLOWSTONE:
|
||||
case MOSSY_COBBLESTONE:
|
||||
|
Loading…
Reference in New Issue
Block a user