From 44c8898b84e15fb2dbb28cd9a8853c02dd78d4bc Mon Sep 17 00:00:00 2001 From: fxeP1 <64731916+fxeP1@users.noreply.github.com> Date: Mon, 25 Aug 2025 02:20:40 +0100 Subject: [PATCH] Removal final remnant of legacy chat Removes ChatSettings MaximumMessageLength fetch that would dynamically fetch the maximum character count since it isn't used in the new TextChatService anymore. --- MainModule/Server/Core/Process.luau | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/MainModule/Server/Core/Process.luau b/MainModule/Server/Core/Process.luau index d6c88d821d..09fcc116aa 100644 --- a/MainModule/Server/Core/Process.luau +++ b/MainModule/Server/Core/Process.luau @@ -152,27 +152,6 @@ return function(Vargs, GetEnv) end end - service.TrackTask("Thread: ChatCharacterLimit", function() - local ChatModules = service.Chat:WaitForChild("ClientChatModules", 5) - if ChatModules then - local ChatSettings = ChatModules:WaitForChild("ChatSettings", 5) - if ChatSettings then - local success, ChatSettingsModule = pcall(function() - return require(ChatSettings) - end) - if success then - local NewChatLimit = ChatSettingsModule.MaximumMessageLength - if NewChatLimit and type(NewChatLimit) == "number" then - Process.MaxChatCharacterLimit = NewChatLimit - AddLog("Script", `Chat Character Limit automatically set to {NewChatLimit}`) - end - else - AddLog("Script", "Failed to automatically get ChatSettings Character Limit, ignore if you use a custom chat system") - end - end - end - end) - Process.RunAfterPlugins = nil AddLog("Script", "Process Module RunAfterPlugins Finished") end