From d26cd3bd16ad28c02a36c49673ccbb0f7d9fcf23 Mon Sep 17 00:00:00 2001 From: Deathmax Date: Sun, 5 Jun 2011 00:02:56 +0800 Subject: [PATCH] Some KillTile prevention thingy --- TShockAPI/TShock.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 351b0faf..8571b9a1 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -364,6 +364,8 @@ namespace TShockAPI } } } + else if (e.MsgID == 0x22) // Client only KillTile + e.Handled = true; // Client only uses it for chests, but sends regular 17 as well. } catch (Exception ex) {