Browse Source

Some entries have no icon

feature-config-parsing2
MagicBot 3 months ago
parent
commit
b81b83570a
  1. 3
      src/engine/ConfigParsing/EffectsParser.java

3
src/engine/ConfigParsing/EffectsParser.java

@ -77,7 +77,8 @@ public class EffectsParser { @@ -77,7 +77,8 @@ public class EffectsParser {
try {
effectEntry.icon = Integer.parseInt(effectDescription.get(2));
} catch (Exception e) {
Logger.error(e);
effectEntry.icon = 0;
Logger.error(effectData);
}
// Parse source entries

Loading…
Cancel
Save