parsing multi worded names

This commit is contained in:
2024-07-24 19:31:27 -05:00
parent 887db109c1
commit 1a0b8c1d35
+1 -1
View File
@@ -62,7 +62,7 @@ public class EffectsParser {
try { try {
String rawData = compiledLines.get(1).replace(" ", ""); String rawData = compiledLines.get(1).replace(" ", "");
if(compiledLines.get(1).contains("\"")){ if(rawData.contains("\"")){
int startIndex = rawData.indexOf('"'); int startIndex = rawData.indexOf('"');
int endIndex = rawData.lastIndexOf('"'); int endIndex = rawData.lastIndexOf('"');
char[] nameValue = rawData.toCharArray(); char[] nameValue = rawData.toCharArray();