Remove all async/await stuff

This commit is contained in:
Vortrex
2023-02-21 14:39:45 -06:00
parent 1cb02b9ab1
commit b4ac02f9ec
13 changed files with 100 additions and 94 deletions

View File

@@ -884,11 +884,11 @@ function processPlayerCommand(command, params, client) {
return true;
}
let possibleAlias = getPlayerAliasForCommand(command);
if (possibleAlias) {
// Just change to the command the alias is for, then continue as normal
command = possibleAlias.forCommand;
}
//let possibleAlias = getPlayerAliasForCommand(client, command);
//if (possibleAlias) {
// // Just change to the command the alias is for, then continue as normal
// command = possibleAlias.forCommand;
//}
let commandData = getCommand(toLowerCase(command));
@@ -1097,4 +1097,10 @@ function getCommandFromParams(params) {
return false;
}
// ===========================================================================
function getPlayerAliasForCommand(client, command) {
return command;
}
// ===========================================================================