diff --git a/EXILED/Exiled.API/Features/Player.cs b/EXILED/Exiled.API/Features/Player.cs
index 6874edb59..48defd440 100644
--- a/EXILED/Exiled.API/Features/Player.cs
+++ b/EXILED/Exiled.API/Features/Player.cs
@@ -2767,7 +2767,7 @@ public Item AddItem(ItemType itemType)
return AddItem(itemType.GetFirearmType(), null);
}
- Item item = Item.Create(itemType);
+ Item item = Item.Create(itemType, this);
AddItem(item);
@@ -2775,7 +2775,7 @@ public Item AddItem(ItemType itemType)
}
///
- /// Adds an firearm of the specified type with default durability(ammo/charge) and no mods to the player's inventory.
+ /// Adds a firearm of the specified type with default durability(ammo/charge) and no mods to the player's inventory.
///
/// The firearm to be added.
/// The attachments to be added to the item.
@@ -2790,16 +2790,6 @@ public Item AddItem(FirearmType firearmType, IEnumerable i
firearm.AddAttachment(identifiers);
else if (Preferences is not null && Preferences.TryGetValue(firearmType, out AttachmentIdentifier[] attachments))
firearm.Base.ApplyAttachmentsCode(attachments.GetAttachmentsCode(), true);
-
- // TODO Not finish
- /*
- FirearmStatusFlags flags = FirearmStatusFlags.MagazineInserted;
-
- if (firearm.Attachments.Any(a => a.Name == AttachmentName.Flashlight))
- flags |= FirearmStatusFlags.FlashlightEnabled;
-
- firearm.Base.Status = new FirearmStatus(firearm.MaxAmmo, flags, firearm.Base.GetCurrentAttachmentsCode());
- */
}
AddItem(item);