Fix cuffs not making mobs drop their items.

This commit is contained in:
Víctor Aguilera Puerto
2020-10-12 13:23:01 +02:00
parent b38b152534
commit 8e8744b383

View File

@@ -163,12 +163,12 @@ namespace Content.Server.GameObjects.Components.ActionBlocking
if (freeHandCount < itemCount)
{
foreach (ItemComponent item in _hands.GetAllHeldItems())
foreach (var item in _hands.GetAllHeldItems())
{
if (freeHandCount < itemCount)
{
freeHandCount++;
_hands.Drop(item.Owner);
_hands.Drop(item.Owner, false);
}
else
{