Browse Source

effect parsing

feature-config-usage
FatBoy-DOTC 2 weeks ago
parent
commit
4cbe9fc236
  1. 4
      src/engine/wpak/EffectsParser.java

4
src/engine/wpak/EffectsParser.java

@ -50,8 +50,12 @@ public class EffectsParser { @@ -50,8 +50,12 @@ public class EffectsParser {
Matcher matcher = EFFECT_REGEX.matcher(fileContents);
while (matcher.find()) {
try {
Effect effect = parseEffectEntry(matcher.group());
WpakPowerManager.effect_data.put(effect.effect_id, effect);
}catch(Exception e){
Logger.error("EFFECT PARSE FAILED: " + e);
}
}
}

Loading…
Cancel
Save