Browse Source

attempt to parse 2 worded values

feature-config-parsing
FatBoy-DOTC 4 months ago
parent
commit
319d68d15e
  1. 3
      src/engine/ConfigParsing/EffectsParser.java

3
src/engine/ConfigParsing/EffectsParser.java

@ -135,6 +135,9 @@ public class EffectsParser { @@ -135,6 +135,9 @@ public class EffectsParser {
if(inMod.type.equals("Health"))
maxValue = 7;
if(data.length < maxValue)
maxValue = data.length;
inMod.values = new ArrayList<>();
for (int i = 1; i < data.length; i++)

Loading…
Cancel
Save