Fix NPE in IceSpike

This commit is contained in:
jedk1 2016-02-09 17:00:16 +00:00
parent 9c8c9c1741
commit 2cb24ac3ad

View file

@ -216,8 +216,10 @@ public class IceSpikeBlast extends IceAbility {
progressing = false;
}
originalSource.revertBlock();
if (player != null && player.isOnline()) {
bPlayer.addCooldown("IceSpikeBlast", cooldown);
}
}
private void returnWater() {
new WaterReturn(player, sourceBlock);