toUppercase()

This commit is contained in:
2024-02-26 15:18:03 -05:00
parent 2e5fa69942
commit 1763266972
11 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ public class Resists {
//Test if Damagetype is valid for foritude
private static boolean isValidDamageCapType(HashSet<SourceType> forts, SourceType damageType, boolean exclusive) {
for (SourceType fort : forts) {
SourceType dt = SourceType.valueOf(fort.name());
SourceType dt = SourceType.valueOf(fort.name().toUpperCase());
if (dt == SourceType.NONE)
continue;