mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
support custom command aliases (without deleting anything necessary)
This commit is contained in:
1 parent
8f6c91f21f
commit
66ac4fbb42
12 files changed
+390
-843
No files matched your search
@@ -135,7 +135,7 @@ public static class TextBoxPatch
|
||||
var exactMatch = false;
|
||||
bool english = TranslationController.Instance.currentLanguage.languageID == SupportedLangs.English;
|
||||
|
||||
foreach (Command cmd in Command.AllCommands.Values)
|
||||
foreach (Command cmd in Command.AllCommands)
|
||||
{
|
||||
string[] commandForms = english ? [.. cmd.CommandForms.TakeWhile(x => x.All(char.IsAscii))] : cmd.CommandForms;
|
||||
|
||||
|
||||
Reference in new issue
Block a user