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();