diff --git a/src/lib/Class.luau b/src/lib/Class.luau index 96795ec..e9c49ba 100644 --- a/src/lib/Class.luau +++ b/src/lib/Class.luau @@ -24,12 +24,5 @@ return function(service, name, createObject) end table.freeze(params) - - if not Common.AnalysisMode then - if service.ClassAdded then - service:ClassAdded(params) - end - end - return params end \ No newline at end of file diff --git a/src/lib/Common.luau b/src/lib/Common.luau index c5c33bf..e640731 100644 --- a/src/lib/Common.luau +++ b/src/lib/Common.luau @@ -23,9 +23,6 @@ Common.Flags = { DONT_ASSIGN_OBJECT_MT = false, } --- Analysis mode, disables spawning -Common.AnalysisMode = false - -- Storage Common.WelcomeMessage = `Catwork🐈 Loaded. API Version - {VERSION}. meow :3` Common.Version = VERSION diff --git a/src/lib/Service.luau b/src/lib/Service.luau index 424c087..9e9f8d8 100644 --- a/src/lib/Service.luau +++ b/src/lib/Service.luau @@ -40,11 +40,9 @@ end local function createObjectForService(params, service) local o = Object(params, service, OBJECT_PRIVATE) - if not Common.AnalysisMode then - Dispatcher.initObjectState(o) - local objAdded = service.ObjectAdded - if objAdded then task.spawn(objAdded, service, o) end - end + Dispatcher.initObjectState(o) + local objAdded = service.ObjectAdded + if objAdded then task.spawn(objAdded, service, o) end return o end @@ -93,8 +91,6 @@ return function(params) end function raw:SpawnObject(obj, xpcallHandler, asyncHandler) - if Common.AnalysisMode then return end - REFLECTION.CUSTOM(1, "Service.SpawnObject", self, SERVICE_REFLECTION_TEST) REFLECTION.CUSTOM(2, "Service.SpawnObject", obj, OBJECT_REFLECTION_TEST) REFLECTION.ARG(3, "Service.SpawnObject", REFLECTION.OPT_FUNCTION, xpcallHandler)