Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
Docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NaoUnderscore committed Sep 23, 2024
1 parent eab9b2d commit 4285b35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Exiled.Events/Patches/Events/Player/Shot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,14 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi
}

/// <summary>
/// Patches the "else" branch of ServerPerformShot raycast attempt to fire OnShot even if the raycast didn't hit anything.
/// Patches the "else" branch of ServerPerformShot raycast attempt to fire OnShot even if the raycast didn't hit anything.
/// </summary>
[EventPatch(typeof(Handlers.Player), nameof(Handlers.Player.Shot))]
[HarmonyPatch(typeof(SingleBulletHitreg), nameof(SingleBulletHitreg.ServerPerformShot))]
internal static class Miss
{
/// <summary>
/// Method to fire the OnShot event when raycast fails.
/// Method to fire the OnShot event when raycast fails.
/// </summary>
private static void ProcessMiss(ReferenceHub player, Firearm firearm, Ray ray)
{
Expand Down

0 comments on commit 4285b35

Please sign in to comment.