Fix chat hide command not working
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Version>1.26.3</Version>
|
||||
<Version>1.26.4</Version>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
@@ -232,13 +232,9 @@ public sealed class ChatLogWindow : Window
|
||||
}
|
||||
}
|
||||
|
||||
private void ToggleChat(string command, string arguments)
|
||||
private void ToggleChat(string _, string arguments)
|
||||
{
|
||||
var parts = arguments.Split(' ');
|
||||
if (parts.Length < 2 || parts[0] != "chat")
|
||||
return;
|
||||
|
||||
switch (parts[1])
|
||||
switch (arguments)
|
||||
{
|
||||
case "hide":
|
||||
CurrentHideState = HideState.User;
|
||||
|
||||
Reference in New Issue
Block a user