ActionBlocker CanInteract uses EntityUid exclusively
ActionBlockerSystem fully uses EntityUid now!
This commit is contained in:
@@ -153,8 +153,8 @@ namespace Content.Server.ParticleAccelerator.Components
|
||||
}
|
||||
|
||||
|
||||
if (obj.Session.AttachedEntity == null ||
|
||||
!EntitySystem.Get<ActionBlockerSystem>().CanInteract(obj.Session.AttachedEntity))
|
||||
if (obj.Session.AttachedEntityUid == null ||
|
||||
!EntitySystem.Get<ActionBlockerSystem>().CanInteract(obj.Session.AttachedEntityUid.Value))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user