Merge fail
This commit is contained in:
parent
733be6b84e
commit
672d360e9d
5 changed files with 25 additions and 20 deletions
|
|
@ -624,14 +624,14 @@ namespace TShockAPI
|
|||
return true;
|
||||
}
|
||||
|
||||
public int SearchProjectile(short identity)
|
||||
public int SearchProjectile(short identity, int owner)
|
||||
{
|
||||
for (int i = 0; i < Main.maxProjectiles; i++)
|
||||
{
|
||||
if (Main.projectile[i].identity == identity)
|
||||
if (Main.projectile[i].identity == identity && Main.projectile[i].owner == owner)
|
||||
return i;
|
||||
}
|
||||
return 1001;
|
||||
return 1000;
|
||||
}
|
||||
|
||||
public string SanitizeString(string str)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue