From 2f837ace1e5ea9f251868f08e30b29023bf4a824 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 24 Jul 2024 19:13:07 -0500 Subject: [PATCH] attempt to parse 2 worded values --- src/engine/ConfigParsing/EffectsParser.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index a550dbfa..953c0f54 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -132,9 +132,6 @@ public class EffectsParser { int maxValue = 5; - if(inMod.type.equals("Health")) - maxValue = 7; - if(data.length < maxValue) maxValue = data.length; @@ -151,6 +148,7 @@ public class EffectsParser { for (int j = i; j < data.length; j ++){ entry += data[j] + " "; } + entry = entry.trim(); inMod.values.add(entry.trim()); } catch (Exception e) { inMod.values.add(data[i]);