Skip to content

Commit

Permalink
yes
Browse files Browse the repository at this point in the history
  • Loading branch information
joker-119 committed Sep 11, 2023
1 parent decb441 commit 73737da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions AdminTools/AdminTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<AssemblyName>$(ProjectName)</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<AssemblyVersion>7.0.0</AssemblyVersion>
<FileVersion>7.0.0</FileVersion>
<AssemblyVersion>7.0.1</AssemblyVersion>
<FileVersion>7.0.1</FileVersion>
</PropertyGroup>

<Import Project="../../Plugin.props" />
Expand Down
3 changes: 1 addition & 2 deletions AdminTools/EventHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ public static IEnumerator<float> DoJail(Player player, bool skipadd = false)
player.IsOverwatchEnabled = false;
yield return Timing.WaitForSeconds(1f);
player.ClearInventory(false);
player.Role.Set(RoleTypeId.Tutorial, SpawnReason.ForceClass, RoleSpawnFlags.None);
player.Position = new Vector3(53f, 1020f, -44f);
player.Role.Set(RoleTypeId.Tutorial, SpawnReason.ForceClass, RoleSpawnFlags.UseSpawnpoint);
}

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

0 comments on commit 73737da

Please sign in to comment.