diff --git a/TShockAPI/Net/NetTile.cs b/TShockAPI/Net/NetTile.cs index 06cd4a28..e30ca13e 100644 --- a/TShockAPI/Net/NetTile.cs +++ b/TShockAPI/Net/NetTile.cs @@ -45,6 +45,7 @@ namespace TShockAPI.Net public byte WallColor { get; set; } public bool Slope { get; set; } public bool Slope2 { get; set; } + public bool Slope3 { get; set; } public bool HasColor { @@ -150,6 +151,9 @@ namespace TShockAPI.Net if (Slope2) flags2 |= TileFlags2.Slope2; + if (Slope3) + flags2 |= TileFlags2.Slope3; + stream.WriteInt8((byte)flags2); @@ -192,6 +196,7 @@ namespace TShockAPI.Net Wire3 = flags2.HasFlag(TileFlags2.Wire3); Slope = flags2.HasFlag(TileFlags2.Slope); Slope2 = flags2.HasFlag(TileFlags2.Slope2); + Slope3 = flags2.HasFlag(TileFlags2.Slope3); if (flags2.HasFlag(TileFlags2.Color)) { @@ -270,6 +275,7 @@ namespace TShockAPI.Net Color = 4, WallColor = 8, Slope = 16, - Slope2 = 32 + Slope2 = 32, + Slope3 = 64 } } diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 32827d00..b0448e76 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -41,7 +41,7 @@ using System.Threading.Tasks; namespace TShockAPI { - [ApiVersion(1, 14)] + [ApiVersion(1, 15)] public class TShock : TerrariaPlugin { public static readonly Version VersionNum = Assembly.GetExecutingAssembly().GetName().Version; diff --git a/TerrariaServerAPI b/TerrariaServerAPI index 0fe91dd0..943e996c 160000 --- a/TerrariaServerAPI +++ b/TerrariaServerAPI @@ -1 +1 @@ -Subproject commit 0fe91dd05a5a54dff48d5ce61c7e3275c393a8b6 +Subproject commit 943e996ca3e9ad9df981f36d98468c591fc54a7f