Wizards Implode: Don't cast spell if no blocks are effected

This commit is contained in:
libraryaddict 2015-05-02 15:26:23 +12:00
parent cd1a5793fa
commit 3e9b64db66

View File

@ -67,6 +67,11 @@ public class SpellImplode extends Spell implements SpellClick
}
}
if (effectedBlocks.isEmpty())
{
return;
}
Collections.shuffle(effectedBlocks);
new BukkitRunnable()