Optimize game.getExtensionConfig.

(cherry picked from commit ea243be12f87d4be0c1fcc87d6d5d53b44637cc9)
This commit is contained in:
Tipx-L 2023-08-24 08:12:04 -07:00
parent 38a8a11a02
commit 5cf7788ccb
1 changed files with 1 additions and 3 deletions

View File

@ -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){