ActionBlocker CanUse uses EntityUid exclusively
This commit is contained in:
@@ -82,7 +82,7 @@ namespace Content.Server.HandLabeler
|
||||
{
|
||||
if (session.AttachedEntity is not { } entity
|
||||
|| !Get<ActionBlockerSystem>().CanInteract(entity)
|
||||
|| !Get<ActionBlockerSystem>().CanUse(entity))
|
||||
|| !Get<ActionBlockerSystem>().CanUse(entity.Uid))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user