Skip to content

Commit

Permalink
Fix some nametags to be more correct
Browse files Browse the repository at this point in the history
  • Loading branch information
NotZer0Two committed Aug 12, 2024
1 parent 6ebf8ea commit c19e5fb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions EXILED/Exiled.API/Extensions/MirrorExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,13 @@ public static void MessageTranslated(this Player player, string words, string tr
}
}


/// <summary>
/// Scale the object for a player.
/// Scales an object for the specified player.
/// </summary>
/// <param name="player">Target to send.</param>
/// <param name="identity">The <see cref="Mirror.NetworkIdentity"/> to scale.</param>
/// <param name="scale">The scale the object needs to be.</param>
/// <param name="scale">The scale the object needs to be set to.</param>
public static void ScaleNetworkIdentityObject(this Player player, NetworkIdentity identity, Vector3 scale)
{
identity.gameObject.transform.localScale = scale;
Expand All @@ -361,10 +362,10 @@ public static void ScaleNetworkIdentityObject(this Player player, NetworkIdentit
}

/// <summary>
/// Scales the object for all the players.
/// Scales an object for all players.
/// </summary>
/// <param name="identity">The <see cref="Mirror.NetworkIdentity"/> to scale.</param>
/// <param name="scale">The scale the object needs to be.</param>
/// <param name="scale">The scale the object needs to be set to.</param>
public static void ScaleNetworkIdentityObject(this NetworkIdentity identity, Vector3 scale)
{
identity.gameObject.transform.localScale = scale;
Expand Down

0 comments on commit c19e5fb

Please sign in to comment.