Dependenices

This commit is contained in:
Cooldude2606 committed 2019-07-22 17:38:56 +01:00
1 parent e0b7174ece
commit 0499ad35ab
169 files changed
+7502 -734

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
--- This will make commands only work if the role has been allowed it in the role config
local Commands = require 'expcore.commands'
local Roles = require 'expcore.roles'
local Commands = require 'expcore.commands' --- @dep expcore.commands
local Roles = require 'expcore.roles' --- @dep expcore.roles
Commands.add_authenticator(function(player,command,tags,reject)
if Roles.player_allowed(player,'command/'..command) then