mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Role preset fixs
This commit is contained in:
@@ -24,7 +24,7 @@ Commands.new_command('unassign-role','Unassigns a role from a player')
|
||||
:add_param('player',false,'player-role')
|
||||
:add_param('role',false,'role')
|
||||
:set_flag('admin-only',true)
|
||||
:add_alias('rdemote','unassign','remove-role')
|
||||
:add_alias('rdemote','unassign','rerole','remove-role')
|
||||
:register(function(player,action_player,role,raw)
|
||||
local player_highest = Roles.get_player_highest_role(player)
|
||||
if player_highest.index < role.index then
|
||||
|
||||
Reference in New Issue
Block a user