diff --git a/EXILED/Exiled.API/Features/Pickups/Pickup.cs b/EXILED/Exiled.API/Features/Pickups/Pickup.cs index 3f7373dee1..6c600dd4ca 100644 --- a/EXILED/Exiled.API/Features/Pickups/Pickup.cs +++ b/EXILED/Exiled.API/Features/Pickups/Pickup.cs @@ -11,6 +11,7 @@ namespace Exiled.API.Features.Pickups using System.Collections.Generic; using System.Linq; + using Exiled.API.Extensions; using Exiled.API.Features.Core; using Exiled.API.Features.Pickups.Projectiles; using Exiled.API.Interfaces; @@ -208,6 +209,11 @@ public float PickupTime /// public ItemType Type => Base.NetworkInfo.ItemId; + /// + /// Gets the of the item. + /// + public ItemCategory Category => Type.GetCategory(); + /// /// Gets or sets a value indicating whether the pickup is locked (can't be picked up). ///