Skip to content

Commit af3383e

Browse files
1.4.4.9
1 parent 72b10f7 commit af3383e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Crossplay/Crossplay.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88

99
<ItemGroup>
1010
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
11-
<PackageReference Include="TShock" Version="5.1.2" />
11+
<PackageReference Include="TShock" Version="5.1.3" />
1212
</ItemGroup>
1313
</Project>

Crossplay/CrossplayPlugin.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public class CrossplayPlugin : TerrariaPlugin
2929
{ 276, "v1.4.4.7" },
3030
{ 277, "v1.4.4.8" },
3131
{ 278, "v1.4.4.8.1" },
32+
{ 279, "v1.4.4.9" },
3233
};
3334

3435
public override string Name => "Crossplay";
@@ -59,6 +60,7 @@ public class CrossplayPlugin : TerrariaPlugin
5960
{ 276, 5456 },
6061
{ 277, 5456 },
6162
{ 278, 5456 },
63+
{ 279, 5456 },
6264
};
6365

6466
public CrossplayPlugin(Main game) : base(game)
@@ -186,9 +188,9 @@ private void OnGetData(GetDataEventArgs args)
186188
NetMessage.SendData(9, args.Msg.whoAmI, -1, NetworkText.FromLiteral("Fixing Version..."), 1);
187189
byte[] connectRequest = new PacketFactory()
188190
.SetType(1)
189-
.PackString($"Terraria278")
191+
.PackString($"Terraria279")
190192
.GetByteData();
191-
Log($"Changing version of index {args.Msg.whoAmI} from {_supportedVersions[versionNumber]} => {_supportedVersions[278]}", color: ConsoleColor.Green);
193+
Log($"Changing version of index {args.Msg.whoAmI} from {_supportedVersions[versionNumber]} => {_supportedVersions[279]}", color: ConsoleColor.Green);
192194

193195
Buffer.BlockCopy(connectRequest, 0, args.Msg.readBuffer, args.Index - 3, connectRequest.Length);
194196
}

0 commit comments

Comments
 (0)