From 8e19b66a9b8212a29bfa34be082c885c968f4f51 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 10 Aug 2024 18:13:56 -0400 Subject: [PATCH] Effect Modifier parsing work. --- src/engine/ConfigParsing/EffectsParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);