diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index 7a1ebd6a..91d42967 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -221,13 +221,6 @@ namespace TShockAPI for (int y = 0; y < size; y++) { tiles[x, y] = new NetTile(args.Data); - if (tiles[x, y].SameTiles > 0) - { - var num = tiles[x, y].SameTiles; - var tile = tiles[x, y]; - for (y++; y < y + num + 1; y++) - tiles[x, y] = tile; - } } } diff --git a/TShockAPI/Net/NetTile.cs b/TShockAPI/Net/NetTile.cs index a9d138ac..73efc484 100644 --- a/TShockAPI/Net/NetTile.cs +++ b/TShockAPI/Net/NetTile.cs @@ -38,8 +38,6 @@ namespace TShockAPI.Net public bool HasLiquid { get { return Liquid > 0; } } public bool FrameImportant { get { return Main.tileFrameImportant[Type]; } } - public int SameTiles { get; set; } - public NetTile() { Active = false; @@ -94,8 +92,6 @@ namespace TShockAPI.Net stream.WriteInt8(Liquid); stream.WriteBoolean(Lava); } - - stream.WriteInt16(1); // Screw trying to figure out how many tiles are the same } public void Unpack(Stream stream) @@ -126,8 +122,6 @@ namespace TShockAPI.Net if (flags.HasFlag(TileFlags.Wire)) Wire = true; - - SameTiles = stream.ReadInt16(); } }