Effect Modifier parsing work.
This commit is contained in:
@@ -124,6 +124,9 @@ public class EffectsParser {
|
|||||||
while (matcher.find())
|
while (matcher.find())
|
||||||
modValues.add(matcher.group(1).trim());
|
modValues.add(matcher.group(1).trim());
|
||||||
|
|
||||||
|
if (modValues.get(0).trim().isEmpty())
|
||||||
|
Logger.error(modEntries);
|
||||||
|
|
||||||
effectModifier.type = mbEnums.ModType.valueOf(modValues.get(0).trim());
|
effectModifier.type = mbEnums.ModType.valueOf(modValues.get(0).trim());
|
||||||
|
|
||||||
switch (effectModifier.type) {
|
switch (effectModifier.type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user