diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 787e84cd..fc625fd0 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -128,8 +128,8 @@ public class EffectsParser { switch (effectModifier.type) { case AnimOverride: - effectModifier.min = Integer.parseInt(modEntries[1]); - effectModifier.max = Integer.parseInt(modEntries[2]); + effectModifier.min = Integer.parseInt(modValues.get(1).trim()); + effectModifier.max = Integer.parseInt(modValues.get(2).trim()); break; default: Logger.error("Unhandled type: " + effectModifier.type);