fix: Adds AssistVersion packet support for Razor (#1094)
- [X] Fixes razor negotiations via 0xF0 packet (open negotiation) - [X] Adds AssistVersion handling for Razor - [X] Displays Assistant in Client/Admin gump
This commit is contained in:
parent
7099329dfe
commit
a37b8b285c
6 changed files with 87 additions and 52 deletions
|
|
@ -10,8 +10,6 @@ public static class AssistantConfiguration
|
|||
{
|
||||
private const string _path = "Configuration/assistants.json";
|
||||
|
||||
public static bool Enabled { get; private set; }
|
||||
|
||||
public static AssistantSettings Settings { get; private set; }
|
||||
|
||||
private const string _defaultWarningMessage = "The server was unable to negotiate features with your assistant. "
|
||||
|
|
@ -23,8 +21,6 @@ public static class AssistantConfiguration
|
|||
|
||||
public static void Configure()
|
||||
{
|
||||
Enabled = ServerConfiguration.GetOrUpdateSetting("assistants.enableRazorNegotiation", false);
|
||||
|
||||
var path = Path.Join(Core.BaseDirectory, _path);
|
||||
|
||||
if (File.Exists(path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue