sourcetype lookup fix

This commit is contained in:
2024-06-15 14:25:40 -05:00
parent f9fd61dc6b
commit 9fbf55127d
+11
View File
@@ -960,6 +960,17 @@ public class Enum {
Wizardry;
public static SourceType GetSourceType(String modName) {
switch(modName){
case "Slashing":
modName = "Slash";
break;
case "Crushing":
modName = "Crush";
break;
case "Piercing":
modName = "Pierce";
break;
}
SourceType returnMod;
if (modName.isEmpty())
return SourceType.None;