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

Loading…
Cancel
Save