From 2f3b9e0fb2859e3f74d00d849940124fe52012d1 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 29 Mar 2024 15:26:44 -0400 Subject: [PATCH] Uppercase for source type --- src/engine/db/handlers/dbPowerHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/db/handlers/dbPowerHandler.java b/src/engine/db/handlers/dbPowerHandler.java index e9714afe..98908f31 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("-", "").trim(); + source = rs.getString("source").replace("-", "").toUpperCase().trim(); Enum.EffectSourceType effectSourceType = Enum.EffectSourceType.GetEffectSourceType(source); if (EffectsBase.effectSourceTypeMap.containsKey(token) == false)