fix/use UserID instead of ServerID
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dayzr-bot",
|
||||
"version": "10.0.4",
|
||||
"version": "10.0.5",
|
||||
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
||||
"main": "index.js",
|
||||
"nodemonConfig": {
|
||||
|
||||
+1
-1
@@ -224,7 +224,7 @@ module.exports = {
|
||||
const posted = await PostServerSettings(client, "config", "disableBaseDamage", pref);
|
||||
if (posted == 1) return 1;
|
||||
|
||||
const remoteDir = `/games/${client.config.Nitrado.ServerID}/ftproot/dayzxb_missions/dayzOffline.chernarusplus`;
|
||||
const remoteDir = `/games/${client.config.Nitrado.UserID}/ftproot/dayzxb_missions/dayzOffline.chernarusplus`;
|
||||
const remoteFilename = 'cfggameplay.json';
|
||||
|
||||
const jsonDir = `../logs/${remoteFilename}`;
|
||||
|
||||
Reference in new issue
Block a user