Only log player leaving if they successfully joined

This commit is contained in:
ricky 2011-06-15 19:53:22 +10:00
parent 36b33891c9
commit 8f1c1ede28

View file

@ -761,7 +761,7 @@ namespace TShockAPI
return;
var tsplr = Players[ply];
if (tsplr != null)
if (tsplr != null && tsplr.ReceivedInfo)
Log.Info(string.Format("{0} left.", tsplr.Name));
}