changed working directory
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
"author": "MrGeorgen",
|
||||
"repository": "git://git.redstoneunion.de/MrGeorgen/2smart2wait.git",
|
||||
"scripts": {
|
||||
"start": "(cd src && node main.js && cd -)"
|
||||
"start": "node src/main.js"
|
||||
},
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
|
||||
@ -5,14 +5,14 @@ const mc = require('minecraft-protocol'); // to handle minecraft login session
|
||||
const webserver = require('./webserver.js'); // to serve the webserver
|
||||
const opn = require('opn'); //to open a browser window
|
||||
const secrets = require('../secrets.json'); // read the creds
|
||||
const config = JSON.parse(jsonminify(fs.readFileSync("../config.json", "utf8"))); // read the config
|
||||
const config = JSON.parse(jsonminify(fs.readFileSync("./config.json", "utf8"))); // read the config
|
||||
const discord = require('discord.js');
|
||||
const {DateTime} = require("luxon");
|
||||
const https = require("https");
|
||||
const prompt = require("prompt");
|
||||
const ping = require('minecraft-server-util');
|
||||
const tokens = require('prismarine-tokens');
|
||||
const save = "../saveid"
|
||||
const save = "./saveid"
|
||||
var auth;
|
||||
var stoppedByPlayer = false;
|
||||
var timedStart;
|
||||
|
||||
Reference in New Issue
Block a user