Fixed a bug where Triple Drops wouldn't happen.

This commit is contained in:
nossr50 2013-01-17 11:23:52 -08:00
parent b11762da99
commit abb0184e49
2 changed files with 3 additions and 4 deletions

View File

@ -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;
} }

View File

@ -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: