ActionBlocker CanUse uses EntityUid exclusively
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Content.Server.Light.EntitySystems
|
||||
return;
|
||||
|
||||
// standard interaction checks
|
||||
if (!_blocker.CanUse(eventArgs.User)) return;
|
||||
if (!_blocker.CanUse(eventArgs.User.Uid)) return;
|
||||
if (!eventArgs.CanReach) return;
|
||||
|
||||
// behaviour will depends on target type
|
||||
|
||||
Reference in New Issue
Block a user