Skip to content
This repository was archived by the owner on Jun 21, 2025. It is now read-only.
Open
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
2 changes: 1 addition & 1 deletion NwPluginAPI/Core/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ public void IntercomUnmute(bool revokeMute)
/// Removes an specific item.
/// </summary>
/// <param name="item">The item base.</param>
public void RemoveItem(ItemBase item) => ReferenceHub.inventory.UserInventory.Items.Remove(item.ItemSerial);
public void RemoveItem(ItemBase item) => ReferenceHub.inventory.ServerRemoveItem(item.ItemSerial, item.PickupDropModel);

/// <summary>
/// Removes all specific items.
Expand Down