mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 12:31:41 +09:00
No Command Complete To Server
This commit is contained in:
@@ -110,7 +110,7 @@ local function run_custom_command(command)
|
|||||||
-- runs the command
|
-- runs the command
|
||||||
local success, err = pcall(command_calls[command.name],command,args)
|
local success, err = pcall(command_calls[command.name],command,args)
|
||||||
if not success then error(err) end
|
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 ~= 'sevrer' then player_return({'commands.command-ran'},defines.text_color.info) end
|
||||||
game.write_file('commands.log',
|
game.write_file('commands.log',
|
||||||
game.tick
|
game.tick
|
||||||
..' Player: "'..player_name..'"'
|
..' Player: "'..player_name..'"'
|
||||||
|
|||||||
Reference in New Issue
Block a user