mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Few Big Changes In Core File
This commit is contained in:
@@ -143,5 +143,8 @@ commands.add_command = function(name, description, inputs, event)
|
||||
inputs=inputs
|
||||
}
|
||||
command_calls[name] = event
|
||||
commands._add_command(name,command_inputs(command_data[name])..'- '..description,run_custom_command)
|
||||
commands._add_command(name,command_inputs(command_data[name])..'- '..description,function(...)
|
||||
local success, err = pcall(run_custom_command,...)
|
||||
if not success then error(err) end
|
||||
end)
|
||||
end
|
||||
Reference in New Issue
Block a user