|
|
@ -113,7 +113,7 @@ public class EffectsParser { |
|
|
|
matcher = CONDITIONS_REGEX.matcher(effectData); |
|
|
|
matcher = CONDITIONS_REGEX.matcher(effectData); |
|
|
|
|
|
|
|
|
|
|
|
while (matcher.find()) { |
|
|
|
while (matcher.find()) { |
|
|
|
String[] condition = matcher.group().split(" "); |
|
|
|
String[] condition = matcher.group().trim().split(" "); |
|
|
|
effectEntry.conditions.put(condition[0].trim(), Float.parseFloat(condition[1])); |
|
|
|
effectEntry.conditions.put(condition[0].trim(), Float.parseFloat(condition[1])); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|