Don't give arg to universal number locale string

This commit is contained in:
Vortrex
2023-03-03 03:06:40 -06:00
parent 1da6b82af5
commit f1d53734d3

View File

@@ -2221,7 +2221,7 @@ function setJobRoutePayCommand(command, params, client) {
let amount = getParam(params, " ", 1);
if (isNaN(amount)) {
getLocaleString(client, "MustBeNumber", "amount");
getLocaleString(client, "MustBeNumber");
return false;
}
@@ -3752,7 +3752,7 @@ function deleteJobUniformCommand(command, params, client) {
}
if (isNaN(uniformIndex)) {
messagePlayerError(client, getLocaleString(client, "MustBeNumber", "uniform ID"));
messagePlayerError(client, getLocaleString(client, "MustBeNumber"));
return false;
}