mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Merge branch 'wip' into testing
This commit is contained in:
@@ -105,7 +105,7 @@ local function run_custom_command(command)
|
|||||||
end
|
end
|
||||||
-- runs the command
|
-- runs the command
|
||||||
local success, err = pcall(command_calls[command.name],event,args)
|
local success, err = pcall(command_calls[command.name],event,args)
|
||||||
if err then error(err) end
|
if not success then error(err) end
|
||||||
player_return({'commands.command-ran'},defines.text_color.info)
|
player_return({'commands.command-ran'},defines.text_color.info)
|
||||||
game.write_file('commands.log','\n'..game.tick
|
game.write_file('commands.log','\n'..game.tick
|
||||||
..' Player: '..player_name
|
..' Player: '..player_name
|
||||||
|
|||||||
Reference in New Issue
Block a user