Skip to content

Commit a0ecb58

Browse files
committed
Release for 9.6.0-beta6
1 parent 2f26a6a commit a0ecb58

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

BetterHelpCommand/BetterHelpCommand.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="ExMod.Exiled" Version="9.1.1" />
15+
<PackageReference Include="ExMod.Exiled" Version="9.6.0-beta6" />
1616
<PackageReference Include="Lib.Harmony" Version="2.2.2" />
1717
</ItemGroup>
1818

BetterHelpCommand/Main.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Exiled.API.Features;
1+
using Exiled.API.Enums;
2+
using Exiled.API.Features;
23
using HarmonyLib;
34
using System;
45
using static PlayerList;
@@ -10,7 +11,7 @@ public class Main : Plugin<Config>
1011
public static Main Instance { get; set; }
1112
public static Harmony Harmony { get; set; }
1213
public override string Author { get; } = "yamato";
13-
14+
public override PluginPriority Priority => PluginPriority.Highest;
1415
public override void OnEnabled()
1516
{
1617
Instance = this;

BetterHelpCommand/Patches/ConsoleColorPatche.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private static bool Prefix(ServerConsole __instance, string text, ConsoleColor d
6868
string tag = match.Groups[1].Value.ToLower();
6969
string value = match.Groups[2].Value;
7070
string content = match.Groups[3].Value;
71-
if (PluginAPI.Core.Log.DisableBetterColors || Testing is AnsiUsage.None)
71+
if (Testing is AnsiUsage.None)
7272
return content;
7373
return content = tag switch
7474
{
@@ -82,7 +82,7 @@ private static bool Prefix(ServerConsole __instance, string text, ConsoleColor d
8282
});
8383
}
8484

85-
if (!PluginAPI.Core.Log.DisableBetterColors && Testing.HasFlag(AnsiUsage.StartWithAnsi))
85+
if (Testing.HasFlag(AnsiUsage.StartWithAnsi))
8686
text = $"\u001b[{defaultAnsiColor}m" + text;
8787
ServerStatic.ServerOutput?.AddLog(text, defaultColor);
8888
return false;

0 commit comments

Comments
 (0)