Browse Source

sourcetype lookup fix

lakebane-new
FatBoy-DOTC 5 months ago
parent
commit
9fbf55127d
  1. 11
      src/engine/Enum.java

11
src/engine/Enum.java

@ -960,6 +960,17 @@ public class Enum { @@ -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;

Loading…
Cancel
Save