diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 0108cee0..bf513c94 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -174,7 +174,9 @@ public class EffectsParser { effectModifier.min = Float.parseFloat(modValues.get(1).trim()); effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); - effectModifier.arg1 = modValues.get(4).trim(); + + if (modValues.size() > 4) + effectModifier.arg1 = modValues.get(4).trim(); // Some HeathFull entries do not have an argument break; case MeleeDamageModifier: case OCV: