Fix cuffs not making mobs drop their items.
This commit is contained in:
@@ -163,12 +163,12 @@ namespace Content.Server.GameObjects.Components.ActionBlocking
|
|||||||
|
|
||||||
if (freeHandCount < itemCount)
|
if (freeHandCount < itemCount)
|
||||||
{
|
{
|
||||||
foreach (ItemComponent item in _hands.GetAllHeldItems())
|
foreach (var item in _hands.GetAllHeldItems())
|
||||||
{
|
{
|
||||||
if (freeHandCount < itemCount)
|
if (freeHandCount < itemCount)
|
||||||
{
|
{
|
||||||
freeHandCount++;
|
freeHandCount++;
|
||||||
_hands.Drop(item.Owner);
|
_hands.Drop(item.Owner, false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user