Use new locale strings

This commit is contained in:
Vortrex
2022-01-09 05:27:11 -06:00
parent 646ff83794
commit 3d9ee04eb5
7 changed files with 134 additions and 119 deletions

View File

@@ -544,7 +544,7 @@ function playerInteriorCommand(command, params, client) {
let splitParams = params.split(" ");
let targetClient = getPlayerFromParams(splitParams[0]);
if(!targetClient) {
messagePlayerError(client, "Player not found!");
messagePlayerError(client, getLocaleString(client, "InvalidPlayer"));
return false;
}
@@ -569,7 +569,7 @@ function playerVirtualWorldCommand(command, params, client) {
let splitParams = params.split(" ");
let targetClient = getPlayerFromParams(splitParams[0]);
if(!targetClient) {
messagePlayerError(client, "Player not found!");
messagePlayerError(client, getLocaleString(client, "InvalidPlayer"));
return false;
}