diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index a550dbfa..953c0f54 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -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 { 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]);