diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f2ff579..329ac726 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin * 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) +* Fixed a bug where players couldn't hammer a Junction Box without "allowclientsideworldedit" permission (@Patrikkk) ## TShock 4.3.17 diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index 9ff3b562..27cee024 100755 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -1741,6 +1741,10 @@ namespace TShockAPI continue; } + // Junction Box + if (tile.type == TileID.WirePipe) + return false; + // Orientable tiles if (tile.type == newtile.Type && orientableTiles.Contains(tile.type)) {