Skip to content

Commit

Permalink
fix: ServerTools resetApi request error
Browse files Browse the repository at this point in the history
  • Loading branch information
Controllerdestiny committed Dec 25, 2024
1 parent 9fd3ebc commit 4d474c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ServerTools/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public partial class Plugin : TerrariaPlugin

public override string Name => "ServerTools";// 插件名字

public override Version Version => new Version(1, 1, 7, 10);// 插件版本
public override Version Version => new Version(1, 1, 8, 0);// 插件版本

private static Config Config = new();

Expand Down Expand Up @@ -288,8 +288,8 @@ public static void RestPlayerCtor(Action<TSRestPlayer, string, TShockAPI.Group>
{
self.Account = new()
{
Name = self.Name,
Group = self.Group.Name,
Name = name,
Group = group.Name,
ID = self.Index
};
orig(self, name, group);
Expand Down

0 comments on commit 4d474c9

Please sign in to comment.