mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-11-04 11:15:21 +00:00
Fix NPE in IceSpike
This commit is contained in:
parent
9c8c9c1741
commit
2cb24ac3ad
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue