Skip to content

Commit

Permalink
fix: nuh that build error😥
Browse files Browse the repository at this point in the history
  • Loading branch information
IRacle1 committed Dec 24, 2024
1 parent 7310631 commit a9ce9b5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ namespace Exiled.Events.EventArgs.Player
using API.Features;
using API.Features.Items;
using Interfaces;

using InventorySystem.Items;
using InventorySystem.Items.MicroHID;
using InventorySystem.Items.MicroHID.Modules;

Expand All @@ -32,9 +34,9 @@ public class ChangingMicroHIDStateEventArgs : IDeniableEvent, IItemEvent
/// <param name="isAllowed">
/// <inheritdoc cref="IsAllowed" />
/// </param>
public ChangingMicroHIDStateEventArgs(Item microHID, MicroHidPhase newPhase, bool isAllowed = true)
public ChangingMicroHIDStateEventArgs(ItemBase microHID, MicroHidPhase newPhase, bool isAllowed = true)
{
MicroHID = microHID.As<MicroHid>();
MicroHID = Item.Get<MicroHid>(microHID);
NewPhase = newPhase;
IsAllowed = isAllowed;
}
Expand Down

0 comments on commit a9ce9b5

Please sign in to comment.