Wizards Implode: Don't cast spell if no blocks are effected
This commit is contained in:
parent
cd1a5793fa
commit
3e9b64db66
@ -67,6 +67,11 @@ public class SpellImplode extends Spell implements SpellClick
|
||||
}
|
||||
}
|
||||
|
||||
if (effectedBlocks.isEmpty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Collections.shuffle(effectedBlocks);
|
||||
|
||||
new BukkitRunnable()
|
||||
|
Loading…
Reference in New Issue
Block a user