Adds mobCheck to a bunch of inventory/hands methods (#1704)
* Adds mobCheck to a bunch of inventory/hands methods, fix not being able to strip dead bodies * Address review
This commit is contained in:
committed by
GitHub
parent
1068269db0
commit
d58d84096b
@@ -112,7 +112,7 @@ namespace Content.Server.GameObjects.Components.Items.Clothing
|
||||
|
||||
private bool TryEquip(InventoryComponent inv, Slots slot, IEntity user)
|
||||
{
|
||||
if (!inv.Equip(slot, this, out var reason))
|
||||
if (!inv.Equip(slot, this, true, out var reason))
|
||||
{
|
||||
if (reason != null)
|
||||
_serverNotifyManager.PopupMessage(Owner, user, reason);
|
||||
|
||||
Reference in New Issue
Block a user