|
@@ -136,7 +136,6 @@ public class BlastMining{
|
|
List<Block> debris = new ArrayList<Block>();
|
|
List<Block> debris = new ArrayList<Block>();
|
|
|
|
|
|
List<Block> xp = new ArrayList<Block>();
|
|
List<Block> xp = new ArrayList<Block>();
|
|
- Iterator<Block> xpGain = xp.iterator();
|
|
|
|
|
|
|
|
while(iterator.hasNext())
|
|
while(iterator.hasNext())
|
|
{
|
|
{
|
|
@@ -187,6 +186,8 @@ public class BlastMining{
|
|
if(skillLevel >= 1000)
|
|
if(skillLevel >= 1000)
|
|
xp = explosionYields(ores, debris, yield, .70f, .30f, location, 3);
|
|
xp = explosionYields(ores, debris, yield, .70f, .30f, location, 3);
|
|
|
|
|
|
|
|
+ Iterator<Block> xpGain = xp.iterator();
|
|
|
|
+
|
|
while(xpGain.hasNext())
|
|
while(xpGain.hasNext())
|
|
{
|
|
{
|
|
blastMiningXP(player, xpGain.next(), plugin);
|
|
blastMiningXP(player, xpGain.next(), plugin);
|