Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AdminTools/EventHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static IEnumerator<float> DoJail(Player player, bool skipadd = false)
yield return Timing.WaitForSeconds(1f);
player.ClearInventory(false);
player.Role.Set(RoleTypeId.Tutorial, SpawnReason.ForceClass, RoleSpawnFlags.None);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
player.Role.Set(RoleTypeId.Tutorial, SpawnReason.ForceClass, RoleSpawnFlags.None);
player.Role.Set(RoleTypeId.Tutorial, SpawnReason.ForceClass, RoleSpawnFlags.UseSpawnpoint);

player.Position = new Vector3(53f, 1020f, -44f);
player.Position = new Vector3(40f, 1015f, -33f);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
player.Position = new Vector3(40f, 1015f, -33f);

}

public static IEnumerator<float> DoUnJail(Player player)
Expand Down