From 68019602d2231e35718b6705adb3aab27f1cf80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B1=BC=E9=B1=BC?= Date: Wed, 20 May 2020 21:37:30 +0800 Subject: [PATCH] uncommented something accidentally commented out --- TShockAPI/Net/SpawnMsg.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/TShockAPI/Net/SpawnMsg.cs b/TShockAPI/Net/SpawnMsg.cs index 0e9bec5b..8f0d2752 100644 --- a/TShockAPI/Net/SpawnMsg.cs +++ b/TShockAPI/Net/SpawnMsg.cs @@ -38,12 +38,10 @@ namespace TShockAPI.Net public override void Pack(Stream stream) { stream.WriteInt8(PlayerIndex); - stream.WriteInt32(TileX); - stream.WriteInt32(TileY); - // stream.WriteInt16(TileX); - // stream.WriteInt16(TileY); - // stream.WriteInt32(RespawnTimer); - // stream.WriteByte((byte) PlayerSpawnContext); + stream.WriteInt16(TileX); + stream.WriteInt16(TileY); + stream.WriteInt32(RespawnTimer); + stream.WriteByte((byte) PlayerSpawnContext); } } }