/login kick -> error, add XML doc to Utils method.
This commit is contained in:
parent
6154ee60c1
commit
048aaf6f0c
2 changed files with 10 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue