Browse Source

attempt to parse 2 worded values

feature-config-parsing
FatBoy-DOTC 4 months ago
parent
commit
3238cfa0ff
  1. 8
      src/engine/ConfigParsing/EffectsParser.java

8
src/engine/ConfigParsing/EffectsParser.java

@ -134,10 +134,12 @@ public class EffectsParser { @@ -134,10 +134,12 @@ public class EffectsParser {
for (int i = 1; i < data.length; i++)
if (!data[i].isEmpty()) {
if(i == 4 && !data[5].isEmpty()){
if(i == 4){
if(data[5] != null && !data[5].isEmpty()){
inMod.values.add(data[i] + " " + data[5]);
}else {
inMod.values.add(data[i]);
}else {
inMod.values.add(data[i]);
}
}
}
}

Loading…
Cancel
Save