Add EntityUid fields to some physics events (#17055)
This commit is contained in:
@@ -42,7 +42,7 @@ namespace Content.Shared.Disposal
|
||||
private void OnPreventCollide(EntityUid uid, SharedDisposalUnitComponent component,
|
||||
ref PreventCollideEvent args)
|
||||
{
|
||||
var otherBody = args.BodyB.Owner;
|
||||
var otherBody = args.OtherEntity;
|
||||
|
||||
// Items dropped shouldn't collide but items thrown should
|
||||
if (EntityManager.HasComponent<ItemComponent>(otherBody) &&
|
||||
|
||||
Reference in New Issue
Block a user