Browse Source

No need for toUpper() here.

combat-2
MagicBot 8 months ago
parent
commit
8e44adf16e
  1. 2
      src/engine/powers/effectmodifiers/BlackMantleEffectModifier.java

2
src/engine/powers/effectmodifiers/BlackMantleEffectModifier.java

@ -33,7 +33,7 @@ public class BlackMantleEffectModifier extends AbstractEffectModifier {
@Override @Override
public void applyBonus(AbstractCharacter ac, int trains) { public void applyBonus(AbstractCharacter ac, int trains) {
PlayerBonuses bonus = ac.getBonuses(); PlayerBonuses bonus = ac.getBonuses();
SourceType sourceType = SourceType.valueOf(this.type.toUpperCase()); SourceType sourceType = SourceType.valueOf(this.type);
if (sourceType == null) { if (sourceType == null) {
Logger.error("Bad Source Type for " + this.type); Logger.error("Bad Source Type for " + this.type);

Loading…
Cancel
Save