[CommandHandler] Allow /advex as short form of /advancedexample

This commit is contained in:
David Cernat
2018-07-17 05:14:01 +03:00
parent 2d221d6dc6
commit 8bcac4e821
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1048,7 +1048,7 @@ function commandHandler.ProcessCommand(pid, cmd)
Players[pid].currentCustomMenu = "default crafting origin"
menuHelper.displayMenu(pid, Players[pid].currentCustomMenu)
elseif cmd[1] == "advancedexample" and moderator then
elseif cmd[1] == "advancedexample" or cmd[1] == "advex" and moderator then
-- Check "scripts/menu/advancedExample.lua" if you want to change the advanced menu example
Players[pid].currentCustomMenu = "advanced example origin"