From 1d2bfbe62fc477d0e91126664fd5608ffdfd6f9e Mon Sep 17 00:00:00 2001
From: xuyuwtu <3082068984@qq.com>
Date: Thu, 29 Jan 2026 10:16:11 +0800
Subject: [PATCH] fix NetModuleType changes
---
TShockAPI/GetDataHandlers.cs | 8 ++++++--
TShockAPI/Handlers/NetModules/NetModulePacketHandler.cs | 2 +-
TShockAPI/TShockAPI.csproj | 2 +-
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs
index 3f34cf11..c81c35c4 100644
--- a/TShockAPI/GetDataHandlers.cs
+++ b/TShockAPI/GetDataHandlers.cs
@@ -4854,12 +4854,16 @@ namespace TShockAPI
Ping,
Ambience,
Bestiary,
- CreativeUnlocks,
CreativePowers,
CreativeUnlocksPlayerReport,
TeleportPylon,
Particles,
- CreativePowerPermissions
+ CreativePowerPermissions,
+ NetBanners,
+ NetCraftingRequests,
+ TagEffectState,
+ LeashedEntity,
+ UnbreakableWallScan
}
public enum CreativePowerTypes
diff --git a/TShockAPI/Handlers/NetModules/NetModulePacketHandler.cs b/TShockAPI/Handlers/NetModules/NetModulePacketHandler.cs
index 16d58640..d3d0ad20 100644
--- a/TShockAPI/Handlers/NetModules/NetModulePacketHandler.cs
+++ b/TShockAPI/Handlers/NetModules/NetModulePacketHandler.cs
@@ -1,6 +1,6 @@
using System;
using System.Collections.Generic;
-using Terraria;
+
using static TShockAPI.GetDataHandlers;
namespace TShockAPI.Handlers.NetModules
diff --git a/TShockAPI/TShockAPI.csproj b/TShockAPI/TShockAPI.csproj
index 1a8d7bf3..5d5a322e 100644
--- a/TShockAPI/TShockAPI.csproj
+++ b/TShockAPI/TShockAPI.csproj
@@ -24,7 +24,7 @@
TShockAPI
Copyright © Pryaxis & TShock Contributors 2011-2025
- True
+
GPL-3.0-or-later
Pryaxis & TShock Contributors
TShock is a toolbox for Terraria servers and communities.