Return 1001 instead of 1000 if we can't locate the projectile associated with specified identity.

This commit is contained in:
Deathmax 2012-01-13 17:36:43 +08:00
parent 19aec7ffec
commit 51058c5060

View file

@ -627,7 +627,7 @@ namespace TShockAPI
if (Main.projectile[i].identity == identity) if (Main.projectile[i].identity == identity)
return i; return i;
} }
return 1000; return 1001;
} }
public string SanitizeString(string str) public string SanitizeString(string str)