Browse Source

Uppercase for source type

combat-2
MagicBot 8 months ago
parent
commit
2f3b9e0fb2
  1. 2
      src/engine/db/handlers/dbPowerHandler.java

2
src/engine/db/handlers/dbPowerHandler.java

@ -40,7 +40,7 @@ public class dbPowerHandler extends dbHandlerBase {
IDString = rs.getString("IDString"); IDString = rs.getString("IDString");
int token = DbManager.hasher.SBStringHash(IDString); int token = DbManager.hasher.SBStringHash(IDString);
source = rs.getString("source").replace("-", "").trim(); source = rs.getString("source").replace("-", "").toUpperCase().trim();
Enum.EffectSourceType effectSourceType = Enum.EffectSourceType.GetEffectSourceType(source); Enum.EffectSourceType effectSourceType = Enum.EffectSourceType.GetEffectSourceType(source);
if (EffectsBase.effectSourceTypeMap.containsKey(token) == false) if (EffectsBase.effectSourceTypeMap.containsKey(token) == false)

Loading…
Cancel
Save