mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-22 16:05:01 +00:00
Fix NPE in IceSpikePillar
This commit is contained in:
parent
885c59ef17
commit
d254e9d491
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@ public class IceSpikePillar extends IceAbility {
|
|||
this.source_block = tempTestingBlock;
|
||||
} else {
|
||||
this.source_block = WaterAbility.getIceSourceBlock(player, range);
|
||||
if (this.source_block == null) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
origin = source_block.getLocation();
|
||||
location = origin.clone();
|
||||
|
|
Loading…
Reference in a new issue