diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index ca53a3ae..2d6aa75b 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -62,11 +62,11 @@ public class EffectsParser { try { effectData.name = compiledLines.get(1).replace(" ", "").replace("\"", "").split(" ")[1]; - int iconID = 0; + int iconID; try { iconID = Integer.parseInt(compiledLines.get(1).replace(" ", "").split(" ")[2]); } catch(Exception e){ - + iconID = 0; } effectData.icon = iconID; } catch (Exception e) {