Fix locale string arg

This commit is contained in:
Vortrex
2022-03-13 05:29:22 -05:00
parent 7c466474f3
commit 94a8bf50ac

View File

@@ -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;
} }