parent
c50322c0e3
commit
24ed9b3236
4 changed files with 3 additions and 5 deletions
|
|
@ -73,12 +73,12 @@ namespace Server
|
|||
|
||||
if (objs.Length == 0)
|
||||
{
|
||||
return 0;
|
||||
return 50;
|
||||
}
|
||||
|
||||
if (!(objs[0] is CallPriorityAttribute attr))
|
||||
{
|
||||
return 0;
|
||||
return 50;
|
||||
}
|
||||
|
||||
return attr.Priority;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ namespace Server.Commands
|
|||
|
||||
public static List<CommandInfo> SortedHelpInfo { get; private set; } = new();
|
||||
|
||||
[CallPriority(100)]
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("HelpInfo", AccessLevel.Player, HelpInfo_OnCommand);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace Server.Network
|
|||
public static void Configure()
|
||||
{
|
||||
var enabled = ServerConfiguration.GetOrUpdateSetting("connectuo.enabled", true);
|
||||
var token = ServerConfiguration.GetOrUpdateSetting("connectuo.token", null);
|
||||
var token = ServerConfiguration.GetOrUpdateSetting("connectuo.token", "");
|
||||
|
||||
if (enabled)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ using System;
|
|||
using System.Buffers;
|
||||
using System.Text;
|
||||
using Server.Misc;
|
||||
using Server.Text;
|
||||
|
||||
namespace Server.Network
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue