From 1a0b8c1d350a9e309ce836bccffe13b998c6c442 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 24 Jul 2024 19:31:27 -0500 Subject: [PATCH] parsing multi worded names --- src/engine/ConfigParsing/EffectsParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 24a83be5..db214053 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -62,7 +62,7 @@ public class EffectsParser { try { String rawData = compiledLines.get(1).replace(" ", ""); - if(compiledLines.get(1).contains("\"")){ + if(rawData.contains("\"")){ int startIndex = rawData.indexOf('"'); int endIndex = rawData.lastIndexOf('"'); char[] nameValue = rawData.toCharArray();