From 8e44adf16e249423503d655e73e58ff0aaebad9c Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 1 Apr 2024 12:58:16 -0400 Subject: [PATCH] No need for toUpper() here. --- .../powers/effectmodifiers/BlackMantleEffectModifier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/powers/effectmodifiers/BlackMantleEffectModifier.java b/src/engine/powers/effectmodifiers/BlackMantleEffectModifier.java index 69c199d9..5619e98f 100644 --- a/src/engine/powers/effectmodifiers/BlackMantleEffectModifier.java +++ b/src/engine/powers/effectmodifiers/BlackMantleEffectModifier.java @@ -33,7 +33,7 @@ public class BlackMantleEffectModifier extends AbstractEffectModifier { @Override public void applyBonus(AbstractCharacter ac, int trains) { PlayerBonuses bonus = ac.getBonuses(); - SourceType sourceType = SourceType.valueOf(this.type.toUpperCase()); + SourceType sourceType = SourceType.valueOf(this.type); if (sourceType == null) { Logger.error("Bad Source Type for " + this.type);