Return 1001 instead of 1000 if we can't locate the projectile associated with specified identity.
This commit is contained in:
parent
19aec7ffec
commit
51058c5060
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue