diff --git a/src/main/java/com/gmail/nossr50/skills/BlastMining.java b/src/main/java/com/gmail/nossr50/skills/BlastMining.java index fdcf27c9a..066add691 100644 --- a/src/main/java/com/gmail/nossr50/skills/BlastMining.java +++ b/src/main/java/com/gmail/nossr50/skills/BlastMining.java @@ -136,7 +136,6 @@ public class BlastMining{ List debris = new ArrayList(); List xp = new ArrayList(); - Iterator xpGain = xp.iterator(); while(iterator.hasNext()) { @@ -187,6 +186,8 @@ public class BlastMining{ if(skillLevel >= 1000) xp = explosionYields(ores, debris, yield, .70f, .30f, location, 3); + Iterator xpGain = xp.iterator(); + while(xpGain.hasNext()) { blastMiningXP(player, xpGain.next(), plugin);