Fix some admin cmds

This commit is contained in:
Vortrex
2022-04-30 13:17:00 -05:00
parent 7de23b983f
commit 4ea236670b
2 changed files with 17 additions and 12 deletions

View File

@@ -263,7 +263,7 @@ function simulateCommandForPlayerCommand(command, params, client) {
}
getCommand(toLowerCase(tempCommand)).handlerFunction(tempCommand, tempParams, targetClient);
messagePlayerSuccess(client, `The command string {ALTCOLOUR}/${tempCommand} ${tempParams}{MAINCOLOUR} has been simulated for {ALTCOLOUR}${targetgetPlayerName(client)}`);
messagePlayerSuccess(client, `The command string {ALTCOLOUR}/${tempCommand} ${tempParams}{MAINCOLOUR} has been simulated for {ALTCOLOUR}${getPlayerName(targetClient)}`);
return true;
}
@@ -352,7 +352,7 @@ function executeClientCodeCommand(command, params, client) {
sendRunCodeToClient(client, targetClient, targetCode, getPlayerId(client));
messagePlayerSuccess(client, "Executing client code for " + toString(targetgetPlayerName(client)) + "!");
messagePlayerSuccess(client, "Executing client code for " + toString(getPlayerName(targetClient)) + "!");
messagePlayerNormal(client, "Code: " + targetCode);
return true;
}