Use ActorComponent instead of IActorComponent or BasicActorComponent. (#3966)
This commit is contained in:
committed by
GitHub
parent
3319dc0599
commit
462cddf860
@@ -246,7 +246,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
|
||||
PlaySoundCollection(StorageSoundCollection);
|
||||
EnsureInitialCalculated();
|
||||
|
||||
var userSession = entity.GetComponent<BasicActorComponent>().playerSession;
|
||||
var userSession = entity.GetComponent<ActorComponent>().PlayerSession;
|
||||
|
||||
Logger.DebugS(LoggerName, $"Storage (UID {Owner.Uid}) \"used\" by player session (UID {userSession.AttachedEntityUid}).");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user