mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Remove admin_only from get-roles
This commit is contained in:
@@ -35,10 +35,9 @@ Commands.new("unassign-role", { "exp-commands_roles.description-unassign" })
|
||||
end)
|
||||
|
||||
--- Lists all roles in they correct order
|
||||
Commands.new("get-role", { "exp-commands_roles.description-get" })
|
||||
Commands.new("get-roles", { "exp-commands_roles.description-get" })
|
||||
:optional("player", { "exp-commands_roles.arg-player-get" }, Commands.types.player)
|
||||
:add_aliases{ "roles" }
|
||||
:add_flags{ "admin_only" }
|
||||
:register(function(player, other_player)
|
||||
--- @cast other_player LuaPlayer?
|
||||
local roles = get_roles_ordered()
|
||||
|
||||
Reference in New Issue
Block a user