mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 13:01:39 +09:00
Emit fix
This commit is contained in:
@@ -47,7 +47,7 @@ function server.emit(code, callback)
|
|||||||
end
|
end
|
||||||
--adds a call back that can be ran with a command
|
--adds a call back that can be ran with a command
|
||||||
function server.add_callback(callback,uuid)
|
function server.add_callback(callback,uuid)
|
||||||
if type(command) == 'function' then
|
if type(callback) == 'function' then
|
||||||
local args = args or {}
|
local args = args or {}
|
||||||
local uuid = uuid or server.get_uuid(callback)
|
local uuid = uuid or server.get_uuid(callback)
|
||||||
debug_write({'callback','ADD'},uuid)
|
debug_write({'callback','ADD'},uuid)
|
||||||
|
|||||||
Reference in New Issue
Block a user