From abb0184e49be139e702649ba5eb28894a99aeb77 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Thu, 17 Jan 2013 11:23:52 -0800 Subject: [PATCH] Fixed a bug where Triple Drops wouldn't happen. --- .../java/com/gmail/nossr50/skills/mining/MiningManager.java | 2 +- .../nossr50/skills/mining/SuperBreakerEventHandler.java | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/mining/MiningManager.java b/src/main/java/com/gmail/nossr50/skills/mining/MiningManager.java index 84644a4a0..ce9cfc711 100644 --- a/src/main/java/com/gmail/nossr50/skills/mining/MiningManager.java +++ b/src/main/java/com/gmail/nossr50/skills/mining/MiningManager.java @@ -157,7 +157,7 @@ public class MiningManager extends SkillManager{ SuperBreakerEventHandler eventHandler = new SuperBreakerEventHandler(this, block); - if (eventHandler.tierCheck()) { + if (!eventHandler.tierCheck()) { return; } diff --git a/src/main/java/com/gmail/nossr50/skills/mining/SuperBreakerEventHandler.java b/src/main/java/com/gmail/nossr50/skills/mining/SuperBreakerEventHandler.java index da498a375..88e878d51 100644 --- a/src/main/java/com/gmail/nossr50/skills/mining/SuperBreakerEventHandler.java +++ b/src/main/java/com/gmail/nossr50/skills/mining/SuperBreakerEventHandler.java @@ -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: