mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 00:14:52 +09:00
Merge branch 'core'
This commit is contained in:
commit
4adf98a176
2 files changed
+2
-2
No files matched your search
@@ -110,7 +110,7 @@ local function run_custom_command(command)
|
||||
-- runs the command
|
||||
local success, err = pcall(command_calls[command.name],command,args)
|
||||
if not success then error(err) end
|
||||
if err ~= commands.error then player_return({'commands.command-ran'},defines.text_color.info) end
|
||||
if err ~= commands.error and player_name ~= 'server' then player_return({'commands.command-ran'},defines.text_color.info) end
|
||||
game.write_file('commands.log',
|
||||
game.tick
|
||||
..' Player: "'..player_name..'"'
|
||||
|
||||
+1
-1
@@ -177,7 +177,7 @@ function Ranking._auto_edit_ranks()
|
||||
end
|
||||
end
|
||||
for power = #ranks, 1, -1 do
|
||||
rank = ranks[power]
|
||||
local rank = ranks[power]
|
||||
rank:edit('disallow',false,rank.group.disallow)
|
||||
if ranks[power+1] then
|
||||
rank:edit('allow',false,ranks[power+1].allow)
|
||||
|
||||
Reference in new issue
Block a user