bump
This commit is contained in:
parent
d26c1b7987
commit
6eb85d19b5
@ -27,7 +27,7 @@ class HideoutArchitect implements IMod
|
|||||||
this.json = container.resolve<JsonUtil>("JsonUtil");
|
this.json = container.resolve<JsonUtil>("JsonUtil");
|
||||||
this.mod = require("../package.json");
|
this.mod = require("../package.json");
|
||||||
this.translations = require("../res/translations.json");
|
this.translations = require("../res/translations.json");
|
||||||
this.logger.info(`Loading: ${this.mod.name} ${this.mod.version}`);
|
this.logger.info(`Loading: ${this.mod.author}: ${this.mod.name} - ${this.mod.version}`);
|
||||||
this.hookRoutes();
|
this.hookRoutes();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ class HideoutArchitect implements IMod
|
|||||||
this.json = container.resolve<JsonUtil>("JsonUtil");
|
this.json = container.resolve<JsonUtil>("JsonUtil");
|
||||||
this.mod = require("../package.json");
|
this.mod = require("../package.json");
|
||||||
this.translations = require("../res/translations.json");
|
this.translations = require("../res/translations.json");
|
||||||
this.logger.info(`Loading: ${this.mod.name} ${this.mod.version}`);
|
this.logger.info(`Loading: ${this.mod.author}: ${this.mod.name} - ${this.mod.version}`);
|
||||||
this.hookRoutes();
|
this.hookRoutes();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ class HideoutArchitect implements IMod
|
|||||||
this.json = container.resolve<JsonUtil>("JsonUtil");
|
this.json = container.resolve<JsonUtil>("JsonUtil");
|
||||||
this.mod = require("../package.json");
|
this.mod = require("../package.json");
|
||||||
this.translations = require("../res/translations.json");
|
this.translations = require("../res/translations.json");
|
||||||
this.logger.info(`Loading: ${this.mod.name} ${this.mod.version}`);
|
this.logger.info(`Loading: ${this.mod.author}: ${this.mod.name} - ${this.mod.version}`);
|
||||||
this.hookRoutes();
|
this.hookRoutes();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "MunitionsExpert",
|
"name": "MunitionsExpert",
|
||||||
"author": "Faupi",
|
"author": "Faupi",
|
||||||
"version": "1.4.1",
|
"version": "1.5.0",
|
||||||
"license": "NCSA Open Source",
|
"license": "NCSA Open Source",
|
||||||
"main": "./src/MunitionsExpert.js",
|
"main": "./src/MunitionsExpert.js",
|
||||||
"akiVersion": "3.0.0",
|
"akiVersion": "3.0.0",
|
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 701 B |
Before Width: | Height: | Size: 732 B After Width: | Height: | Size: 732 B |
@ -16,7 +16,7 @@ class MunitionsExpert implements IMod
|
|||||||
private modLoader: InitialModLoader;
|
private modLoader: InitialModLoader;
|
||||||
private table: IDatabaseTables;
|
private table: IDatabaseTables;
|
||||||
private globalLocale: { [x: string]: { interface: { [x: string]: any; }; }; };
|
private globalLocale: { [x: string]: { interface: { [x: string]: any; }; }; };
|
||||||
private mod: { name: string; version: any; };
|
private mod: { name: string; version: any; author: any;};
|
||||||
private translations: { [x: string]: any; };
|
private translations: { [x: string]: any; };
|
||||||
private items: { [x: string]: any; };
|
private items: { [x: string]: any; };
|
||||||
private path: { resolve: (arg0: string) => any; };
|
private path: { resolve: (arg0: string) => any; };
|
||||||
@ -29,7 +29,7 @@ class MunitionsExpert implements IMod
|
|||||||
this.json = container.resolve<JsonUtil>("JsonUtil");
|
this.json = container.resolve<JsonUtil>("JsonUtil");
|
||||||
this.mod = require("../package.json");
|
this.mod = require("../package.json");
|
||||||
this.translations = require("../res/translations.json");
|
this.translations = require("../res/translations.json");
|
||||||
this.logger.info(`Loading: ${this.mod.name} ${this.mod.version}`);
|
this.logger.info(`Loading: ${this.mod.author}: ${this.mod.name} - ${this.mod.version}`);
|
||||||
this.path = require("path");
|
this.path = require("path");
|
||||||
this.cfg = require("./config.json");
|
this.cfg = require("./config.json");
|
||||||
this.hookRoutes();
|
this.hookRoutes();
|
||||||
@ -86,7 +86,7 @@ class MunitionsExpert implements IMod
|
|||||||
{
|
{
|
||||||
const modOutput = {
|
const modOutput = {
|
||||||
status: 1,
|
status: 1,
|
||||||
data: null
|
data: {}
|
||||||
};
|
};
|
||||||
|
|
||||||
modOutput.data = {...this.mod, ...{path: this.path.resolve(this.modLoader.getModPath(this.mod.name))}};
|
modOutput.data = {...this.mod, ...{path: this.path.resolve(this.modLoader.getModPath(this.mod.name))}};
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user