Skip to content

Commit 78272f2

Browse files
committed
chore(deps): update to TShock v5.9.9
1 parent 3a9345d commit 78272f2

File tree

6 files changed

+8
-10
lines changed

6 files changed

+8
-10
lines changed

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
44
<CommonProjectPath>$(SolutionDir)src\VBY\Common\Common.csproj</CommonProjectPath>
55
<SharedCodePath>$(SolutionDir)src\SharedCode\</SharedCodePath>
6-
<TShockVersion>5.2.4</TShockVersion>
76
<OutToPlugin>true</OutToPlugin>
87
</PropertyGroup>
98
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Windows'))">

Sdk/My.Plugins.Sdk/My.Plugins.Sdk.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<IsPackable>true</IsPackable>
66
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
77

8-
<TargetFramework>net6.0</TargetFramework>
8+
<TargetFramework>net9.0</TargetFramework>
99
<PackageId>My.Plugins.Sdk</PackageId>
1010
<PackageVersion>1.0.0</PackageVersion>
1111
<Authors>yu</Authors>
@@ -16,7 +16,7 @@
1616
</PropertyGroup>
1717
<ItemGroup>
1818
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-6qmf-mmc7-6c2p" />
19-
<PackageReference Include="TShock" Version="5.2.4" />
19+
<PackageReference Include="UnrealMultiple.TShock-Beta" Version="5.9.9" />
2020
</ItemGroup>
2121
<ItemGroup>
2222
<None Include="Sdk\Sdk.props;Sdk\Sdk.targets" Pack="true" PackagePath="sdk/%(Filename)%(Extension)" />

Sdk/My.Plugins.Sdk/Sdk/Sdk.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
88

99
<PropertyGroup>
10-
<TargetFramework>net6.0</TargetFramework>
10+
<TargetFramework>net9.0</TargetFramework>
1111
<BaseOutputPath>$(SolutionDir)out</BaseOutputPath>
1212
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1313
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
1414
</PropertyGroup>
1515

1616
<ItemGroup>
1717
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-6qmf-mmc7-6c2p" />
18-
<PackageReference Include="TShock" Version="$(TShockVersion)">
18+
<PackageReference Include="UnrealMultiple.TShock-Beta" Version="5.9.9">
1919
<ExcludeAssets>contentFiles</ExcludeAssets>
2020
</PackageReference>
2121
</ItemGroup>

Sdk/My.Plugins.Sdk/my.plugins.sdk.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
<description>custom sdk for TShock</description>
88
<readme>docs\readme.md</readme>
99
<dependencies>
10-
<group targetFramework="net6.0">
11-
<dependency id="TShock" version="5.2.0" />
10+
<group targetFramework="net9.0">
11+
<dependency id="UnrealMultiple.TShock-Beta" version="5.9.9" />
1212
</group>
1313
</dependencies>
1414
</metadata>
1515
<files>
1616
<file src="readme.md" target="docs\" />
1717
<file src="Sdk\*" target="sdk\" />
18-
<file src="lib\net6.0\*" target="lib\net6.0\" />
18+
<file src="lib\net9.0\*" target="lib\net9.0\" />
1919
</files>
2020
</package>

src/VBY/Common/Extensions/TShockExt.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ namespace TShockAPI.DB;
44

55
public static class TShockExt
66
{
7-
public static SqlTableCreator GetTableCreator(this IDbConnection db) => new(db, db.GetSqlType() == SqlType.Sqlite ? new SqliteQueryCreator() : new MysqlQueryCreator());
7+
public static SqlTableCreator GetTableCreator(this IDbConnection db) => new(db, db.GetSqlQueryBuilder());
88
}

src/VBY/GameContentModify/GameContentModify.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
using Newtonsoft.Json.Linq;
1212

1313
using Terraria;
14-
using Terraria.GameContent.ItemDropRules;
1514
using Terraria.ID;
1615

1716
using TerrariaApi.Server;

0 commit comments

Comments
 (0)