Skip to content

Commit

Permalink
uwu
Browse files Browse the repository at this point in the history
  • Loading branch information
VALERA771 committed Oct 11, 2024
1 parent 2147c94 commit 8732744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EXILED/Exiled.API/Features/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -590,15 +590,15 @@ public Role Role
get => role ??= Role.Create(RoleManager.CurrentRole);
internal set
{
PreviousRole = role;
PreviousRole = role.Type;
role = value;
}
}

/// <summary>
/// Gets the role that player had before changing role.
/// </summary>
public Role PreviousRole { get; private set; }
public RoleTypeId PreviousRole { get; private set; }

/// <summary>
/// Gets or sets the player's SCP preferences.
Expand Down

0 comments on commit 8732744

Please sign in to comment.