Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] [DynamicEvents] Scp914.UpgradingInventoryItem event does not fire unless Scp914.UpgradingPlayer is subscribed #2455

Merged
merged 2 commits into from
Mar 20, 2024
Merged
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
3 changes: 2 additions & 1 deletion Exiled.Events/Patches/Events/Scp914/UpgradingPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ namespace Exiled.Events.Patches.Events.Scp914

/// <summary>
/// Patches <see cref="Scp914Upgrader.ProcessPlayer(ReferenceHub, bool, bool, Vector3, Scp914KnobSetting)" />
/// to add the <see cref="Scp914.UpgradingPlayer" /> event.
/// to add the <see cref="Scp914.UpgradingPlayer" /> and <see cref="Scp914.UpgradingInventoryItem" /> event.
/// </summary>
[EventPatch(typeof(Scp914), nameof(Scp914.UpgradingPlayer))]
[EventPatch(typeof(Scp914), nameof(Scp914.UpgradingInventoryItem))]
[HarmonyPatch(typeof(Scp914Upgrader), nameof(Scp914Upgrader.ProcessPlayer))]
internal static class UpgradingPlayer
{
Expand Down
Loading