mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-12 15:50:42 -05:00
Improved accuracy of comments
This commit is contained in:
parent
da8c336519
commit
45c3df682f
@ -140,7 +140,7 @@ export class DatabaseService {
|
|||||||
public getServer(): IServerBase {
|
public getServer(): IServerBase {
|
||||||
if (!this.databaseServer.getTables().server) {
|
if (!this.databaseServer.getTables().server) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
this.localisationService.getText("database-data_at_path_missing", "assets/database/server"),
|
this.localisationService.getText("database-data_at_path_missing", "assets/database/server.json"),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -153,7 +153,7 @@ export class DatabaseService {
|
|||||||
public getSettings(): ISettingsBase {
|
public getSettings(): ISettingsBase {
|
||||||
if (!this.databaseServer.getTables().settings) {
|
if (!this.databaseServer.getTables().settings) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
this.localisationService.getText("database-data_at_path_missing", "assets/database/settings"),
|
this.localisationService.getText("database-data_at_path_missing", "assets/database/settings.json"),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -319,7 +319,10 @@ export class DatabaseService {
|
|||||||
public getLocationServices(): ILocationServices {
|
public getLocationServices(): ILocationServices {
|
||||||
if (!this.databaseServer.getTables().templates.locationServices) {
|
if (!this.databaseServer.getTables().templates.locationServices) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
this.localisationService.getText("database-data_at_path_missing", "assets/database/locationServices"),
|
this.localisationService.getText(
|
||||||
|
"database-data_at_path_missing",
|
||||||
|
"assets/database/locationServices.json",
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user