Browse Source

added missing source types

feature-config-usage
FatBoy-DOTC 2 weeks ago
parent
commit
2531041d7c
  1. 5
      src/engine/mbEnums.java

5
src/engine/mbEnums.java

@ -1029,6 +1029,7 @@ public class mbEnums {
Spell; Spell;
public static SourceType GetSourceType(String modName) { public static SourceType GetSourceType(String modName) {
try {
SourceType returnMod; SourceType returnMod;
if (modName.isEmpty()) if (modName.isEmpty())
return SourceType.None; return SourceType.None;
@ -1041,6 +1042,10 @@ public class mbEnums {
return SourceType.None; return SourceType.None;
} }
return returnMod; return returnMod;
}catch(Exception e){
Logger.error(" MISSING SOURCE TYPE: " + modName);
return SourceType.None;
}
} }
} }

Loading…
Cancel
Save