All damage type lookups go through method
This commit is contained in:
1 parent
14ee83e147
commit
5ed497dd69
7 files changed
+7
-7
No files matched your search
@@ -135,7 +135,7 @@ public class Resists {
|
||||
//Test if Damagetype is valid for foritude
|
||||
private static boolean isValidDamageCapType(HashSet<SourceType> forts, Enum.DamageType damageType, boolean exclusive) {
|
||||
for (SourceType fort : forts) {
|
||||
Enum.DamageType dt = Enum.DamageType.valueOf(fort.name());
|
||||
Enum.DamageType dt = Enum.DamageType.GetDamageType(fort.name());
|
||||
|
||||
if (dt.equals(Enum.DamageType.NONE))
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user