forked from MagicBane/Server
attempt to parse 2 worded values
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user