From 2f076d32150c2dbe9f99396284efdbb6209d8376 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 24 Jul 2024 19:33:42 -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 db214053..3f24067d 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -63,7 +63,7 @@ public class EffectsParser { try { String rawData = compiledLines.get(1).replace(" ", ""); if(rawData.contains("\"")){ - int startIndex = rawData.indexOf('"'); + int startIndex = rawData.indexOf('"') + 1; int endIndex = rawData.lastIndexOf('"'); char[] nameValue = rawData.toCharArray(); String name = "";