Woops set new char cash not skin
This commit is contained in:
@@ -62,7 +62,7 @@ function setNewCharacterMoneyCommand(command, params, client) {
|
|||||||
let splitParams = params.split();
|
let splitParams = params.split();
|
||||||
let amount = toInteger(splitParams[0]) || 1000;
|
let amount = toInteger(splitParams[0]) || 1000;
|
||||||
|
|
||||||
getServerConfig().newCharacter.cash = skinId;
|
getServerConfig().newCharacter.cash = amount;
|
||||||
|
|
||||||
messagePlayerNormal(client, `The new character money has been set to $${amount}`);
|
messagePlayerNormal(client, `The new character money has been set to $${amount}`);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user