From 4bcf00fd6fb41d336c7c8ff25f34c7b6f41badbd Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 21 Aug 2024 12:43:14 -0400 Subject: [PATCH] Enums are uppercase --- src/engine/wpak/EffectsParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/wpak/EffectsParser.java b/src/engine/wpak/EffectsParser.java index cba17f79..6522f325 100644 --- a/src/engine/wpak/EffectsParser.java +++ b/src/engine/wpak/EffectsParser.java @@ -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); }