Skip to content

Commit

Permalink
Merge pull request #562 from THEXN/master
Browse files Browse the repository at this point in the history
fix:允许非SSC使用
  • Loading branch information
Controllerdestiny authored Nov 15, 2024
2 parents 9e23203 + 5269ce7 commit a97c5f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/ZHIPlayerManager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
## 更新日志

```
v.1.0.0.8
fix:允许非SSC使用
v.1.0.0.6
完善卸载函数
v.1.0.0.5
Expand Down
4 changes: 3 additions & 1 deletion src/ZHIPlayerManager/ZHIPM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public partial class ZHIPM : TerrariaPlugin

public override string Name => "ZHIPlayerManager";

public override Version Version => new Version(1, 0, 0, 7);
public override Version Version => new Version(1, 0, 0, 8);

#region 字段或属性
/// <summary>
Expand Down Expand Up @@ -84,11 +84,13 @@ public ZHIPM(Main game) : base(game) { }

public override void Initialize()
{
/*
if (!TShock.ServerSideCharacterConfig.Settings.Enabled)
{
Console.WriteLine(GetString("该插件需要开启SSC才能使用"));
return;
}
*/
Timer = 0L;
config = ZhipmConfig.LoadConfigFile();
ZPDataBase = new ZplayerDB(TShock.DB);
Expand Down

0 comments on commit a97c5f1

Please sign in to comment.