ActionBlocker CanInteract uses EntityUid exclusively
ActionBlockerSystem fully uses EntityUid now!
This commit is contained in:
@@ -148,7 +148,7 @@ namespace Content.Server.Buckle.Components
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!EntitySystem.Get<ActionBlockerSystem>().CanInteract(user))
|
||||
if (!EntitySystem.Get<ActionBlockerSystem>().CanInteract(user.Uid))
|
||||
{
|
||||
user.PopupMessage(Loc.GetString("buckle-component-cannot-do-that-message"));
|
||||
return false;
|
||||
@@ -303,7 +303,7 @@ namespace Content.Server.Buckle.Components
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!EntitySystem.Get<ActionBlockerSystem>().CanInteract(user))
|
||||
if (!EntitySystem.Get<ActionBlockerSystem>().CanInteract(user.Uid))
|
||||
{
|
||||
user.PopupMessage(Loc.GetString("buckle-component-cannot-do-that-message"));
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user