From 6d883821a85104a01fbdd5afc0332b315ad7f62b Mon Sep 17 00:00:00 2001 From: nossr50 Date: Thu, 1 Mar 2012 14:02:23 -0800 Subject: [PATCH] Fix for Blast Mining XP (hopefully) --- src/main/java/com/gmail/nossr50/skills/BlastMining.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);