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:
Graham Cantin 2012-01-22 17:33:07 -08:00
parent a2d72f3a3d
commit 4d863a9021

View file

@ -1896,7 +1896,7 @@ namespace TShockAPI
// Server now checks owner + ident, if owner is different, server will create new projectile.
/*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);
return true;
}*/
@ -1959,7 +1959,7 @@ namespace TShockAPI
// 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
{
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);
return true;
}*/