Merge remote-tracking branch 'origin/general-devel' into noclip

This commit is contained in:
Lucas Nicodemus 2017-12-26 20:33:22 -07:00
commit 227125199a
2 changed files with 3 additions and 3 deletions

View file

@ -963,7 +963,7 @@ namespace TShockAPI
short type = args.Type;
int index = args.Index;
if (index > Main.maxProjectiles || index < 0)
if (index > Main.maxProjectiles)
{
args.Player.RemoveProjectile(ident, owner);
args.Handled = true;