forked from MagicBane/Server
parsing multi worded names
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user