mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Fix comparator for lower_role type
This commit is contained in:
@@ -30,7 +30,7 @@ types.lower_role =
|
|||||||
--- @cast result any TODO role is not a defined type
|
--- @cast result any TODO role is not a defined type
|
||||||
|
|
||||||
local player_highest = highest_role(player)
|
local player_highest = highest_role(player)
|
||||||
if player_highest.index >= result.index then
|
if player_highest.index < result.index then
|
||||||
return invalid{ "exp-commands-parse_role.lower-role" }
|
return invalid{ "exp-commands-parse_role.lower-role" }
|
||||||
else
|
else
|
||||||
return valid(result)
|
return valid(result)
|
||||||
|
|||||||
Reference in New Issue
Block a user