mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 12:49:32 +00:00
Fix NPE in IceSpike
This commit is contained in:
parent
9c8c9c1741
commit
2cb24ac3ad
|
@ -216,7 +216,9 @@ public class IceSpikeBlast extends IceAbility {
|
|||
progressing = false;
|
||||
}
|
||||
originalSource.revertBlock();
|
||||
bPlayer.addCooldown("IceSpikeBlast", cooldown);
|
||||
if (player != null && player.isOnline()) {
|
||||
bPlayer.addCooldown("IceSpikeBlast", cooldown);
|
||||
}
|
||||
}
|
||||
|
||||
private void returnWater() {
|
||||
|
|
Loading…
Reference in a new issue