Browse Source

Uppercase for source type

combat-2
MagicBot 8 months ago
parent
commit
52d37296a7
  1. 2
      src/engine/Enum.java

2
src/engine/Enum.java

@ -945,7 +945,7 @@ public class Enum {
return EffectSourceType.None; return EffectSourceType.None;
try { try {
returnMod = EffectSourceType.valueOf(modName.replace(",", "").toUpperCase()); returnMod = EffectSourceType.valueOf(modName.replace(",", ""));
} catch (Exception e) { } catch (Exception e) {
Logger.error(e); Logger.error(e);
return EffectSourceType.None; return EffectSourceType.None;

Loading…
Cancel
Save