mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Fix for Blast Mining XP (hopefully)
This commit is contained in:
parent
415786d67e
commit
6d883821a8
@ -136,7 +136,6 @@ public class BlastMining{
|
||||
List<Block> debris = new ArrayList<Block>();
|
||||
|
||||
List<Block> xp = new ArrayList<Block>();
|
||||
Iterator<Block> 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<Block> xpGain = xp.iterator();
|
||||
|
||||
while(xpGain.hasNext())
|
||||
{
|
||||
blastMiningXP(player, xpGain.next(), plugin);
|
||||
|
Loading…
Reference in New Issue
Block a user