Optimize game.getExtensionConfig.
(cherry picked from commit ea243be12f87d4be0c1fcc87d6d5d53b44637cc9)
This commit is contained in:
parent
38a8a11a02
commit
5cf7788ccb
|
@ -38451,9 +38451,7 @@
|
|||
saveExtensionConfig:function(extension,key,value){
|
||||
return game.saveConfig('extension_'+extension+'_'+key,value);
|
||||
},
|
||||
getExtensionConfig:function(extension,key){
|
||||
return lib.config['extension_'+extension+'_'+key];
|
||||
},
|
||||
getExtensionConfig:(extension,key)=>lib.config[`extension_${extension}_${key}`],
|
||||
clearModeConfig:mode=>{
|
||||
if(_status.reloading) return;
|
||||
if(lib.db){
|
||||
|
|
Loading…
Reference in New Issue