Add gate cmds

This commit is contained in:
Vortrex
2022-05-17 20:46:56 -05:00
parent 68d070e4c7
commit 13c5b28936
2 changed files with 17 additions and 8 deletions

View File

@@ -116,7 +116,7 @@ function triggerGateCommand(command, params, client) {
messagePlayerError(client, getLocaleString(client, "InvalidGate"));
}
if(!canPlayerUseGate(client, closestGate)) {
if(!doesPlayerHaveGateKeys(client, closestGate)) {
messagePlayerError(client, getLocaleString(client, "NoGateAccess"));
return false;
}