Fix locale string arg
This commit is contained in:
@@ -160,7 +160,7 @@ function createItemCommand(command, params, client) {
|
|||||||
let value = splitParams.slice(-1) || 1;
|
let value = splitParams.slice(-1) || 1;
|
||||||
|
|
||||||
if(!getItemTypeData(itemType)) {
|
if(!getItemTypeData(itemType)) {
|
||||||
messagePlayerError(client, getLocaleString("InvalidItemType"));
|
messagePlayerError(client, getLocaleString(client, "InvalidItemType"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user