mirror of
https://github.com/AsgardEternal/DBLogExtension.git
synced 2025-01-16 16:23:41 -06:00
Update db-log-addOn.js
This commit is contained in:
parent
fbabf1e9bc
commit
a4c4fa20c1
@ -275,7 +275,8 @@ export default class DBLogPlayerTime extends DBLog {
|
||||
if(((this.options.incseed*seeder.seedTime) - (this.options.decseed*(topTime-seeder.seedTime))) > 100) seedid.push(seeder);
|
||||
}
|
||||
|
||||
const lcladminpath = path.resolve(__dirname, "../../../", this.options.whitelistfilepath);
|
||||
const lcladminpath = path.resolve("../../../", this.options.whitelistfilepath);
|
||||
this.verbose(1, "trying to write to directory: ", lcladminpath);
|
||||
if(!fs.existsSync(lcladminpath)) {
|
||||
this.verbose(1, "WARNING: auto whitelist admins file not found");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user