Browse Source

Enums are uppercase

feature-config-parsing2
MagicBot 3 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 { @@ -139,7 +139,7 @@ public class EffectsParser {
conditionEntry.curveType = mbEnums.CompoundCurveType.valueOf(iterator.next());
while (iterator.hasNext())
conditionEntry.damageTypes.add(mbEnums.DamageType.valueOf(iterator.next()));
conditionEntry.damageTypes.add(mbEnums.DamageType.valueOf(iterator.next().toUpperCase()));
effectEntry.conditions.add(conditionEntry);
}

Loading…
Cancel
Save