diff --git a/src/engine/powers/ActionsBase.java b/src/engine/powers/ActionsBase.java index 26779720..2b8b308a 100644 --- a/src/engine/powers/ActionsBase.java +++ b/src/engine/powers/ActionsBase.java @@ -244,8 +244,12 @@ public class ActionsBase { if (bonus == null) return false; - SourceType sourceType = SourceType.GetSourceType(this.stackType); + SourceType sourceType = null; + try { + sourceType = SourceType.GetSourceType(this.stackType); + }catch(Exception ignored){ + } if(sourceType != null && (bonus.getBool(ModType.ImmuneTo,sourceType) || bonus.getBool(ModType.NoMod,sourceType))) return true;