mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Merge branch 'wip' into testing
This commit is contained in:
@@ -69,7 +69,7 @@ function commands.get_commands(player)
|
||||
if not player then return commands end
|
||||
local rank = Ranking.get_rank(player)
|
||||
for name,data in pairs(command_data) do
|
||||
if Ranking.rank_allowed(rank,name) then table.insert(commands,data) end
|
||||
if rank:allowed(name) then table.insert(commands,data) end
|
||||
end
|
||||
return commands
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user