mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +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);
|
SuperBreakerEventHandler eventHandler = new SuperBreakerEventHandler(this, block);
|
||||||
|
|
||||||
if (eventHandler.tierCheck()) {
|
if (!eventHandler.tierCheck()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,6 @@ public class SuperBreakerEventHandler {
|
|||||||
|
|
||||||
protected void processDropsAndXP() {
|
protected void processDropsAndXP() {
|
||||||
manager.miningBlockCheck(block);
|
manager.miningBlockCheck(block);
|
||||||
manager.miningBlockCheck(block); //Triple drops
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void playSpoutSound() {
|
protected void playSpoutSound() {
|
||||||
@ -75,7 +74,7 @@ public class SuperBreakerEventHandler {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (blockType) {
|
switch (blockType) {
|
||||||
case OBSIDIAN:
|
case OBSIDIAN:
|
||||||
if (tier < Mining.DIAMOND_TOOL_TIER) {
|
if (tier < Mining.DIAMOND_TOOL_TIER) {
|
||||||
@ -100,7 +99,7 @@ public class SuperBreakerEventHandler {
|
|||||||
}
|
}
|
||||||
/* FALL THROUGH */
|
/* FALL THROUGH */
|
||||||
|
|
||||||
case COAL_ORE:
|
case COAL_ORE:
|
||||||
case ENDER_STONE:
|
case ENDER_STONE:
|
||||||
case GLOWSTONE:
|
case GLOWSTONE:
|
||||||
case MOSSY_COBBLESTONE:
|
case MOSSY_COBBLESTONE:
|
||||||
|
Loading…
Reference in New Issue
Block a user