Browse Source

attempt to parse 2 worded values

feature-config-parsing
FatBoy-DOTC 5 months ago
parent
commit
633f5837dc
  1. 6
      src/engine/ConfigParsing/EffectsParser.java

6
src/engine/ConfigParsing/EffectsParser.java

@ -135,11 +135,15 @@ public class EffectsParser { @@ -135,11 +135,15 @@ public class EffectsParser {
for (int i = 1; i < data.length; i++)
if (!data[i].isEmpty()) {
if(i == 4){
if(data[5] != null && !data[5].isEmpty()){
try {
if (!data[5].isEmpty()) {
inMod.values.add(data[i] + " " + data[5]);
} else {
inMod.values.add(data[i]);
}
} catch(Exception e){
inMod.values.add(data[i]);
}
}
}
}

Loading…
Cancel
Save