Only log player leaving if they successfully joined
This commit is contained in:
parent
36b33891c9
commit
8f1c1ede28
1 changed files with 1 additions and 1 deletions
|
|
@ -761,7 +761,7 @@ namespace TShockAPI
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var tsplr = Players[ply];
|
var tsplr = Players[ply];
|
||||||
if (tsplr != null)
|
if (tsplr != null && tsplr.ReceivedInfo)
|
||||||
Log.Info(string.Format("{0} left.", tsplr.Name));
|
Log.Info(string.Format("{0} left.", tsplr.Name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue