Skip to content

Commit

Permalink
Revert "Fetch upstream (#2357)"
Browse files Browse the repository at this point in the history
This reverts commit 33edca9.
  • Loading branch information
louis1706 committed Jan 12, 2024
1 parent 96ff024 commit 181c1cb
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 24 deletions.
9 changes: 2 additions & 7 deletions Exiled.API/Enums/SpawnReason.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,8 @@ public enum SpawnReason : byte // TOTO: Remove this file and use Basegame
ForceClass,

/// <summary>
/// The player will be destroyed.
/// The user will be destroyed.
/// </summary>
Destroyed,

/// <summary>
/// The player was spawned due to the usage of an item.
/// </summary>
ItemUsage,
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
namespace Exiled.API.Features.DamageHandlers
{
using CustomPlayerEffects;
using PlayerRoles;

using BaseHandler = PlayerStatsSystem.DamageHandlerBase;

Expand Down
2 changes: 0 additions & 2 deletions Exiled.API/Features/Roles/Scp1507Role.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ namespace Exiled.API.Features.Roles
{
using System.Collections.Generic;
using System.Linq;

using Exiled.API.Enums;
using Exiled.API.Interfaces;
using PlayerRoles;
using PlayerRoles.PlayableScps.HumeShield;
Expand Down
1 change: 0 additions & 1 deletion Exiled.API/Features/Scp1507Ragdoll.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Scp1507Ragdoll.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down
2 changes: 1 addition & 1 deletion Exiled.API/Features/Scp956.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Scp956.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
Expand Down
12 changes: 1 addition & 11 deletions Exiled.CustomItems/API/Features/CustomWeapon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,16 +197,6 @@ private void OnInternalReloading(ReloadingWeaponEventArgs ev)
if (!Check(ev.Player.CurrentItem))
return;

Log.Debug($"{nameof(Name)}.{nameof(OnInternalReloading)}: Reloading weapon. Calling external reload event..");
OnReloading(ev);

Log.Debug($"{nameof(Name)}.{nameof(OnInternalReloading)}: External event ended. {ev.IsAllowed}");
if (!ev.IsAllowed)
{
Log.Debug($"{nameof(Name)}.{nameof(OnInternalReloading)}: External event turned is allowed to false, returning.");
return;
}

Log.Debug($"{nameof(Name)}.{nameof(OnInternalReloading)}: Continuing with internal reload..");
ev.IsAllowed = false;

Expand Down Expand Up @@ -310,4 +300,4 @@ private void OnInternalHurting(HurtingEventArgs ev)
OnHurting(ev);
}
}
}
}
1 change: 0 additions & 1 deletion Exiled.Events/Patches/Events/Scp2536/FindingPosition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ namespace Exiled.Events.Patches.Events.Scp2536
using Exiled.Events.Attributes;
using Exiled.Events.EventArgs.Scp2536;
using HarmonyLib;
using UnityEngine;

using static HarmonyLib.AccessTools;

Expand Down

0 comments on commit 181c1cb

Please sign in to comment.