Don't give arg to universal number locale string
This commit is contained in:
@@ -2221,7 +2221,7 @@ function setJobRoutePayCommand(command, params, client) {
|
|||||||
let amount = getParam(params, " ", 1);
|
let amount = getParam(params, " ", 1);
|
||||||
|
|
||||||
if (isNaN(amount)) {
|
if (isNaN(amount)) {
|
||||||
getLocaleString(client, "MustBeNumber", "amount");
|
getLocaleString(client, "MustBeNumber");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3752,7 +3752,7 @@ function deleteJobUniformCommand(command, params, client) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isNaN(uniformIndex)) {
|
if (isNaN(uniformIndex)) {
|
||||||
messagePlayerError(client, getLocaleString(client, "MustBeNumber", "uniform ID"));
|
messagePlayerError(client, getLocaleString(client, "MustBeNumber"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user