/login kick -> error, add XML doc to Utils method.

This commit is contained in:
quake1337 2021-07-13 21:47:27 +02:00
parent 6154ee60c1
commit 048aaf6f0c
2 changed files with 10 additions and 1 deletions

View file

@ -212,6 +212,12 @@ namespace TShockAPI
} while (TilePlacementValid(tileX, tileY) && TileSolid(tileX, tileY));
}
/// <summary>
/// Asserts that the group reference can be safely assigned to the player object.
/// </summary>
/// <param name="player"></param>
/// <param name="group"></param>
/// <returns></returns>
public bool AssertGroupValid(TSPlayer player, Group group)
{
if (group == null)