diff --git a/src/engine/Enum.java b/src/engine/Enum.java index ef9d5177..3d250c38 100644 --- a/src/engine/Enum.java +++ b/src/engine/Enum.java @@ -945,7 +945,7 @@ public class Enum { return EffectSourceType.None; try { - returnMod = EffectSourceType.valueOf(modName.replace(",", "")); + returnMod = EffectSourceType.valueOf(modName.replace(",", "").toUpperCase()); } catch (Exception e) { Logger.error(e); return EffectSourceType.None; diff --git a/src/engine/db/handlers/dbPowerHandler.java b/src/engine/db/handlers/dbPowerHandler.java index 98908f31..e9714afe 100644 --- a/src/engine/db/handlers/dbPowerHandler.java +++ b/src/engine/db/handlers/dbPowerHandler.java @@ -40,7 +40,7 @@ public class dbPowerHandler extends dbHandlerBase { IDString = rs.getString("IDString"); int token = DbManager.hasher.SBStringHash(IDString); - source = rs.getString("source").replace("-", "").toUpperCase().trim(); + source = rs.getString("source").replace("-", "").trim(); Enum.EffectSourceType effectSourceType = Enum.EffectSourceType.GetEffectSourceType(source); if (EffectsBase.effectSourceTypeMap.containsKey(token) == false)