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