mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-15 16:24:52 +09:00
Role preset fixs
This commit is contained in:
1 parent
d7c33a2ef9
commit
e375dd133f
2 files changed
+2
-2
No files matched your search
@@ -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