forked from MagicBane/Server
toUppercase()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user