Raarity лет назад: 8
Родитель
Сommit
2f4bbd659f
2 измененных файлов с 5 добавлено и 5 удалено
  1. 4 4
      index.js
  2. 1 1
      manifest.json

+ 4 - 4
index.js

@@ -32,7 +32,7 @@ class KeybindSaver {
         let acceptServer = 0,
             acceptClient = false,
             settingsPath;
-        
+
         function cmdKeybind(arg) {
             if(!arg) {
                 command.message(`You need to include a file path(look in data folder)`);
@@ -74,7 +74,7 @@ class KeybindSaver {
         }
         dispatch.hook('S_LOAD_CLIENT_ACCOUNT_SETTING', 'raw', sLoadClientSetting.bind(null, 'accountSettings'));
         dispatch.hook('S_LOAD_CLIENT_USER_SETTING', 'raw', sLoadClientSetting.bind(null, 'userSettings'));
-        
+
         function cSaveClientSetting(key, opcode, payload, incoming, fake) {
             if(acceptClient && !fake) {
                 let data = getJsonData(settingsPath);
@@ -84,7 +84,7 @@ class KeybindSaver {
         }
         dispatch.hook('C_SAVE_CLIENT_ACCOUNT_SETTING', 'raw', cSaveClientSetting.bind(null, 'accountSettings'));
         dispatch.hook('C_SAVE_CLIENT_USER_SETTING', 'raw', cSaveClientSetting.bind(null, 'userSettings'));
-        
+
         function noMoreAccept() {
             acceptClient = false;
         }
@@ -95,7 +95,7 @@ class KeybindSaver {
             acceptClient = true;
         }
         dispatch.hook('C_LOAD_TOPO_FIN', 'raw', acceptNow);
-        
+
         dispatch.hook('S_LOGIN', 9, e=> {
             settingsPath = `./data/${e.name}-${e.serverId}.json`;
             acceptServer = 2;

+ 1 - 1
manifest.json

@@ -1,6 +1,6 @@
 {
     "files": {
-        "index.js": "29d6a5b09018fc79c1e086eb61589a4e8779c8b2f515e0542bf484e38abc5467",
+        "index.js": "000ab33d64fbe606d5044bd77b29873cc620b98183f0d8b56688782cc7a2f604",
         "README.md": "d4b18e5f4b0ddf97422fb4b7b15a027efd1ceaba153316619fb3a45fb491efbd"
     },
     "defs": {}