From a994fc4e86527bf2ae6add639a073b583083a7fe Mon Sep 17 00:00:00 2001 From: "@Someone" <45270312+Someone-193@users.noreply.github.com> Date: Sat, 17 Jan 2026 10:47:55 -0500 Subject: [PATCH] Fix --- EXILED/Exiled.CustomItems/API/Features/CustomItem.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/EXILED/Exiled.CustomItems/API/Features/CustomItem.cs b/EXILED/Exiled.CustomItems/API/Features/CustomItem.cs index 182f47155..789fd25ce 100644 --- a/EXILED/Exiled.CustomItems/API/Features/CustomItem.cs +++ b/EXILED/Exiled.CustomItems/API/Features/CustomItem.cs @@ -534,7 +534,15 @@ public static IEnumerable UnregisterItems(IEnumerable targetTy /// The where the will be spawned. /// The of the item. Can be null. /// The of the spawned . - public virtual Pickup? Spawn(Vector3 position, Player? previousOwner = null) => Spawn(position, Item.Create(Type), previousOwner); + public virtual Pickup? Spawn(Vector3 position, Player? previousOwner = null) + { + Item item = Item.Create(Type); + + Pickup? pickup = Spawn(position, item, previousOwner); + + UnityEngine.Object.Destroy(item.Base); + return pickup; + } /// /// Spawns the in a specific position.