mirror of
https://github.com/ApeMV/AmongUsRevamped.git
synced 2026-10-20 01:46:28 +00:00
1.8.0
This commit is contained in:
1 parent
5e74dd1f84
commit
8e013830b6
6 files changed
+7
-7
No files matched your search
@@ -78,11 +78,11 @@ internal static class CommandHelper
|
||||
[HarmonyPostfix]
|
||||
public static void Postfix(TextBoxTMP __instance)
|
||||
{
|
||||
if (!HudManager.InstanceExists || HudManager.Instance.Chat == null || HudManager.Instance.Chat.freeChatField == null || __instance != HudManager.Instance.Chat.freeChatField.textArea) return;
|
||||
if (!HudManager.InstanceExists || HudManager.Instance.Chat == null || HudManager.Instance.Chat.freeChatField == null || HudManager.Instance.Chat.freeChatField.textArea == null || __instance != HudManager.Instance.Chat.freeChatField.textArea) return;
|
||||
|
||||
if (Main.DisableCommandHelper.Value || !AmongUsClient.Instance.AmHost)
|
||||
{
|
||||
HelperText.enabled = false;
|
||||
if (HelperText != null) HelperText.enabled = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user