0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 13:10:43 -05:00

Improved accuracy of comments

This commit is contained in:
Chomp 2024-12-22 21:53:44 +00:00
parent da8c336519
commit 45c3df682f

View File

@ -140,7 +140,7 @@ export class DatabaseService {
public getServer(): IServerBase {
if (!this.databaseServer.getTables().server) {
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 {
if (!this.databaseServer.getTables().settings) {
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 {
if (!this.databaseServer.getTables().templates.locationServices) {
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",
),
);
}