Finally committing a change to this now that tortoisegit is fixed.
I know this is commented out, but these stupid debug messages should really be showing *WHY* things aren't matching.
This commit is contained in:
parent
a2d72f3a3d
commit
4d863a9021
1 changed files with 2 additions and 2 deletions
|
|
@ -1896,7 +1896,7 @@ namespace TShockAPI
|
||||||
// Server now checks owner + ident, if owner is different, server will create new projectile.
|
// Server now checks owner + ident, if owner is different, server will create new projectile.
|
||||||
/*if (args.Player.Index != owner)
|
/*if (args.Player.Index != owner)
|
||||||
{
|
{
|
||||||
args.Player.Disable("Owner and player ID does not match to update projectile");
|
args.Player.Disable(String.Format("Owner ({0}) and player ID ({1}) does not match to update projectile", owner, args.Player.Index));
|
||||||
args.Player.RemoveProjectile(ident, owner);
|
args.Player.RemoveProjectile(ident, owner);
|
||||||
return true;
|
return true;
|
||||||
}*/
|
}*/
|
||||||
|
|
@ -1959,7 +1959,7 @@ namespace TShockAPI
|
||||||
// Players can no longer destroy projectiles that are not theirs as of 1.1.2
|
// Players can no longer destroy projectiles that are not theirs as of 1.1.2
|
||||||
/*if (args.Player.Index != Main.projectile[index].owner && type != 102 && type != 100 && !TShock.Config.IgnoreProjKill) // workaround for skeletron prime projectiles
|
/*if (args.Player.Index != Main.projectile[index].owner && type != 102 && type != 100 && !TShock.Config.IgnoreProjKill) // workaround for skeletron prime projectiles
|
||||||
{
|
{
|
||||||
args.Player.Disable("Owner and player ID does not match to kill projectile");
|
args.Player.Disable(String.Format("Owner ({0}) and player ID ({1}) does not match to kill projectile of type: {3}", Main.projectile[index].owner, args.Player.Index, type));
|
||||||
args.Player.RemoveProjectile(ident, owner);
|
args.Player.RemoveProjectile(ident, owner);
|
||||||
return true;
|
return true;
|
||||||
}*/
|
}*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue