Browse Source

attempt to parse 2 worded values

feature-config-parsing
FatBoy-DOTC 4 months ago
parent
commit
2f837ace1e
  1. 4
      src/engine/ConfigParsing/EffectsParser.java

4
src/engine/ConfigParsing/EffectsParser.java

@ -132,9 +132,6 @@ public class EffectsParser { @@ -132,9 +132,6 @@ public class EffectsParser {
int maxValue = 5;
if(inMod.type.equals("Health"))
maxValue = 7;
if(data.length < maxValue)
maxValue = data.length;
@ -151,6 +148,7 @@ public class EffectsParser { @@ -151,6 +148,7 @@ public class EffectsParser {
for (int j = i; j < data.length; j ++){
entry += data[j] + " ";
}
entry = entry.trim();
inMod.values.add(entry.trim());
} catch (Exception e) {
inMod.values.add(data[i]);

Loading…
Cancel
Save