Check for JContainers before running _00E_Theriantrophist_Update_12
This commit is contained in:
parent
b1f2ef17b5
commit
7f4ea4e047
Binary file not shown.
@ -1,7 +1,12 @@
|
|||||||
scriptname _00E_Theriantrophist_Update_12 Hidden
|
scriptname _00E_Theriantrophist_Update_12 Hidden
|
||||||
|
{Moved to a separate script to remove the JContainers dependency from _00E_Theriantrophist_AlchemyControl}
|
||||||
|
|
||||||
function Run(_00E_Theriantrophist_AlchemyControl PlayerAlias) global
|
function Run(_00E_Theriantrophist_AlchemyControl PlayerAlias) global
|
||||||
|
|
||||||
|
Int SKSEVer = SKSE.GetVersion()
|
||||||
|
|
||||||
|
if SKSEVer >= 2 && (SKSE.GetPluginVersion("JContainers64") > 0 || SKSE.GetPluginVersion("JContainersVR") > 0)
|
||||||
|
|
||||||
Potion k
|
Potion k
|
||||||
int potionNames = JMap.getObj(JDB.root(), "EnderalFS.RenamedPotions")
|
int potionNames = JMap.getObj(JDB.root(), "EnderalFS.RenamedPotions")
|
||||||
int potionModels = JMap.getObj(JDB.root(), "EnderalFS.ModelChangedPotions")
|
int potionModels = JMap.getObj(JDB.root(), "EnderalFS.ModelChangedPotions")
|
||||||
@ -16,4 +21,6 @@ function Run(_00E_Theriantrophist_AlchemyControl PlayerAlias) global
|
|||||||
JFormMap.clear(potionModels)
|
JFormMap.clear(potionModels)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user