mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Merge branch 'core'
This commit is contained in:
@@ -11,7 +11,7 @@ Discord: https://discord.gg/r6dC2uK
|
|||||||
-- replaces the base error function
|
-- replaces the base error function
|
||||||
_error = error
|
_error = error
|
||||||
error = function(err)
|
error = function(err)
|
||||||
if _G.Sync and game then
|
if _G.Sync and _G.Sync.emit_embeded and game then
|
||||||
local color = _G.Color and Color.to_hex(defines.text_color.bg) or '0x0'
|
local color = _G.Color and Color.to_hex(defines.text_color.bg) or '0x0'
|
||||||
Sync.emit_embeded{title='SCRIPT ERROR',color=color,description='There was an error in the script @Developers ',Error=err}
|
Sync.emit_embeded{title='SCRIPT ERROR',color=color,description='There was an error in the script @Developers ',Error=err}
|
||||||
elseif _G.error_handle and type(error_handle) == 'function' then
|
elseif _G.error_handle and type(error_handle) == 'function' then
|
||||||
|
|||||||
Reference in New Issue
Block a user