diff --git a/src/engine/wpak/EffectsParser.java b/src/engine/wpak/EffectsParser.java index 211239a5..1a5b565f 100644 --- a/src/engine/wpak/EffectsParser.java +++ b/src/engine/wpak/EffectsParser.java @@ -50,8 +50,12 @@ public class EffectsParser { Matcher matcher = EFFECT_REGEX.matcher(fileContents); while (matcher.find()) { - Effect effect = parseEffectEntry(matcher.group()); - WpakPowerManager.effect_data.put(effect.effect_id, effect); + try { + Effect effect = parseEffectEntry(matcher.group()); + WpakPowerManager.effect_data.put(effect.effect_id, effect); + }catch(Exception e){ + Logger.error("EFFECT PARSE FAILED: " + e); + } } }