From 51058c50602669a3ce8f230ef290db5fe555f0aa Mon Sep 17 00:00:00 2001 From: Deathmax Date: Fri, 13 Jan 2012 17:36:43 +0800 Subject: [PATCH] Return 1001 instead of 1000 if we can't locate the projectile associated with specified identity. --- TShockAPI/Utils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index 123e763a..a03a0439 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -627,7 +627,7 @@ namespace TShockAPI if (Main.projectile[i].identity == identity) return i; } - return 1000; + return 1001; } public string SanitizeString(string str)