From f13b8b5d3e83da9a1ce6d78432cea1c673629ca8 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 24 Jul 2024 18:56:29 -0500 Subject: [PATCH] attempt to parse 2 worded values --- src/engine/ConfigParsing/EffectsParser.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index fade05e6..dce62c15 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -138,13 +138,14 @@ public class EffectsParser { try { if (!data[5].isEmpty()) { inMod.values.add(data[i] + " " + data[5]); - } else { - inMod.values.add(data[i]); } } catch(Exception e){ inMod.values.add(data[i]); } } + else { + inMod.values.add(data[i]); + } } } } \ No newline at end of file