From 0b02b90df0091efe6f9f6e4d2c4d92c31904a83f Mon Sep 17 00:00:00 2001 From: MarioE Date: Sun, 19 Aug 2012 10:23:08 -0400 Subject: [PATCH] ...item drop wouldn't work with negative IDs --- TShockAPI/GetDataHandlers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index bddfc90d..b252e0ed 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -2464,7 +2464,7 @@ namespace TShockAPI return true; // player is attempting to crash clients - if (type < 0 || type >= Main.maxItemTypes) + if (type < -24 || type >= Main.maxItemTypes) { return true; }