diff --git a/CHANGELOG.md b/CHANGELOG.md index 222991f4..eb2270dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin * Players can no longer quick stack items into region protected chests (@ProfessorXZ) * Rope placement is no longer blocked by range checks (@ProfessorXZ) * The Drill Containment Unit breaks blocks properly now (@ProfessorXZ) +* Fixed Expert mode coin duplication (@ProfessorXZ) +* Players are no longer able to place liquids using LoadNetModule packet (@ProfessorXZ) ## TShock 4.3.17 diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index 801e6273..9ff3b562 100755 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -362,7 +362,7 @@ namespace TShockAPI public int TileY { get; set; } } /// - /// TileKill - When a tile is removed fromt he world + /// TileKill - When a tile is removed from the world /// public static HandlerList TileKill; @@ -1260,6 +1260,7 @@ namespace TShockAPI { PacketTypes.PlaceTileEntity, HandlePlaceTileEntity }, { PacketTypes.PlaceItemFrame, HandlePlaceItemFrame }, { PacketTypes.SyncExtraValue, HandleSyncExtraValue }, + { PacketTypes.LoadNetModule, HandleLoadNetModule }, { PacketTypes.ToggleParty, HandleToggleParty } }; } @@ -4228,6 +4229,12 @@ namespace TShockAPI return false; } + private static bool HandleLoadNetModule(GetDataHandlerArgs args) + { + // Since this packet is never actually sent to us, every attempt at sending it can be considered as a liquid exploit attempt + return true; + } + private static bool HandleToggleParty(GetDataHandlerArgs args) { if (args.Player != null && !args.Player.HasPermission(Permissions.toggleparty))