diff --git a/NwPluginAPI/Core/Player.cs b/NwPluginAPI/Core/Player.cs index 47475e0..80c5173 100644 --- a/NwPluginAPI/Core/Player.cs +++ b/NwPluginAPI/Core/Player.cs @@ -1139,7 +1139,7 @@ public void IntercomUnmute(bool revokeMute) /// Removes an specific item. /// /// The item base. - public void RemoveItem(ItemBase item) => ReferenceHub.inventory.UserInventory.Items.Remove(item.ItemSerial); + public void RemoveItem(ItemBase item) => ReferenceHub.inventory.ServerRemoveItem(item.ItemSerial, item.PickupDropModel); /// /// Removes all specific items.