diff --git a/lc-hax/Scripts/Patches/CommandPatch.cs b/lc-hax/Scripts/Patches/CommandPatch.cs index b3da6a25..aad2ad89 100644 --- a/lc-hax/Scripts/Patches/CommandPatch.cs +++ b/lc-hax/Scripts/Patches/CommandPatch.cs @@ -35,7 +35,7 @@ static bool Prefix(HUDManager __instance, ref bool __state) { } try { - Chat.ExecuteCommand(hudManager.chatTextField.text); + Chat.ExecuteCommand(hudManager.chatTextField.text.TrimEnd()); } catch (Exception exception) {