diff --git a/src/engine/jobs/AbstractEffectJob.java b/src/engine/jobs/AbstractEffectJob.java index 4197dcfb..3eb26592 100644 --- a/src/engine/jobs/AbstractEffectJob.java +++ b/src/engine/jobs/AbstractEffectJob.java @@ -117,7 +117,7 @@ public abstract class AbstractEffectJob extends AbstractScheduleJob { } public void endEffect() { - if (this.eb == null) + if (this.eb == null || this.power == null) return; this.eb.endEffect(this.source, this.target, this.trains, this.power, this); }