From 8fa238fa64e1a1b6dbbf6a93830c80d1077735c2 Mon Sep 17 00:00:00 2001 From: MarioE Date: Wed, 20 Nov 2013 22:11:17 -0500 Subject: [PATCH] Revert part of previous commit --- TShockAPI/GetDataHandlers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index e7ff8a8f..4d4d0860 100755 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -1870,7 +1870,7 @@ namespace TShockAPI Item selectedItem = args.Player.SelectedItem; int lastKilledProj = args.Player.LastKilledProjectile; - if (action == EditAction.KillTile && !Main.tileCut[Main.tile[tileX, tileY].type]) + if (action == EditAction.KillTile && !Main.tileCut[Main.tile[tileX, tileY].type] && !breakableTiles.Contains(Main.tile[tileX, tileY].type)) { // If the tile is an axe tile and they aren't selecting an axe, they're hacking. if (Main.tileAxe[Main.tile[tileX, tileY].type] && (selectedItem.axe == 0 && selectedItem.explosive == 0 && args.Player.RecentFuse == 0))