Replace all ITransformComponent by TransformComponent
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Content.Server.Administration.Commands
|
||||
|
||||
var entityManager = IoCManager.Resolve<IEntityManager>();
|
||||
|
||||
if (!entityManager.TryGetComponent<ITransformComponent>(entityUid, out var transform)) return;
|
||||
if (!entityManager.TryGetComponent<TransformComponent>(entityUid, out var transform)) return;
|
||||
|
||||
var parent = transform.ParentUid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user