Use ActorComponent instead of IActorComponent or BasicActorComponent. (#3966)
This commit is contained in:
committed by
GitHub
parent
3319dc0599
commit
462cddf860
@@ -128,7 +128,7 @@ namespace Content.Server.GameObjects.Components.Command
|
||||
|
||||
void IActivate.Activate(ActivateEventArgs eventArgs)
|
||||
{
|
||||
if (!eventArgs.User.TryGetComponent(out IActorComponent? actor))
|
||||
if (!eventArgs.User.TryGetComponent(out ActorComponent? actor))
|
||||
return;
|
||||
/*
|
||||
if (!Powered)
|
||||
@@ -136,7 +136,7 @@ namespace Content.Server.GameObjects.Components.Command
|
||||
return;
|
||||
}
|
||||
*/
|
||||
OpenUserInterface(actor.playerSession);
|
||||
OpenUserInterface(actor.PlayerSession);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user