|
|
|
@ -50,8 +50,12 @@ public class EffectsParser {
@@ -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); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|