mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 12:16:37 +09:00
Added command_auth_runtime_disable
This commit is contained in:
@@ -8,7 +8,7 @@ Commands.add_authenticator(function(player,command,tags,reject)
|
||||
if player.admin then
|
||||
return true
|
||||
else
|
||||
return reject('This command is for admins only!')
|
||||
return reject{'command-auth.admin-only'}
|
||||
end
|
||||
else
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user