Browse Source

Enums are uppercase

feature-config-parsing2
MagicBot 4 months ago
parent
commit
4bcf00fd6f
  1. 2
      src/engine/wpak/EffectsParser.java

2
src/engine/wpak/EffectsParser.java

@ -139,7 +139,7 @@ public class EffectsParser {
conditionEntry.curveType = mbEnums.CompoundCurveType.valueOf(iterator.next()); conditionEntry.curveType = mbEnums.CompoundCurveType.valueOf(iterator.next());
while (iterator.hasNext()) while (iterator.hasNext())
conditionEntry.damageTypes.add(mbEnums.DamageType.valueOf(iterator.next())); conditionEntry.damageTypes.add(mbEnums.DamageType.valueOf(iterator.next().toUpperCase()));
effectEntry.conditions.add(conditionEntry); effectEntry.conditions.add(conditionEntry);
} }

Loading…
Cancel
Save