Fix mobs not dropping items when falling down. (#5771)

It checked action blockers, meaning it would never actually drop the items.
This commit is contained in:
Vera Aguilera Puerto
2021-12-13 21:47:52 +01:00
committed by GitHub
parent bd51b15af8
commit 36c5ab551d

View File

@@ -21,7 +21,7 @@ public class StandingStateSystem : EntitySystem
foreach (var heldItem in hands.GetAllHeldItems())
{
if (!hands.Drop(heldItem.Owner))
if (!hands.Drop(heldItem.Owner, false))
continue;
var worldRotation = EntityManager.GetComponent<TransformComponent>(uid).WorldRotation.ToVec();