From 4d863a9021f1aea4607c394b2eca859eca83bfff Mon Sep 17 00:00:00 2001 From: Graham Cantin Date: Sun, 22 Jan 2012 17:33:07 -0800 Subject: [PATCH] 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. --- TShockAPI/GetDataHandlers.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index eb16c225..5e95e2e2 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -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; }*/