fca-project-orion 1.1.20 → 1.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ const logger = require("../logger");
6
6
  const getText = global.Fca.getText;
7
7
  var language = require("../Language/index.json");
8
8
  const fs = require("fs");
9
- language = language.find(i => i.Language == require(process.cwd() + "/Orion_Database/FastConfigFca.json").Language).Folder.ExtraGetThread;
9
+ language = language.find(i => i.Language == require(process.cwd() + "/FastConfigFca.json").Language).Folder.ExtraGetThread;
10
10
 
11
11
  if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") {
12
12
  if (!fs.existsSync(process.cwd() + "/Orion_Database/Threads.json")) {
@@ -14,7 +14,7 @@ if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") {
14
14
  }
15
15
  }
16
16
  else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type != "default" && global.Fca.Require.FastConfig.AntiGetInfo.Database_Type != "json") {
17
- logger.Warning("Database_Type in /Orion_Database/FastConfigFca.json is not valid. Only default and json are valid.");
17
+ logger.Warning("Database_Type in /FastConfigFca.json is not valid. Only default and json are valid.");
18
18
  process.exit(0);
19
19
  }
20
20
 
package/Main.js CHANGED
@@ -1164,7 +1164,7 @@ function login(loginData, options, callback) {
1164
1164
  console.log(e)
1165
1165
  logger.Warning("Error, auto turn off Websocket_extension");
1166
1166
  global.Fca.Require.FastConfig.Websocket_Extension.Status = false;
1167
- global.Fca.Require.fs.writeFileSync(process.cwd() + "/Orion_Database/FastConfigFca.json", JSON.stringify(global.Fca.Require.FastConfig, null, "\t"));
1167
+ global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(global.Fca.Require.FastConfig, null, "\t"));
1168
1168
  process.exit(1);
1169
1169
  }
1170
1170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fca-project-orion",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {