Fix errors
This commit is contained in:
@@ -49,7 +49,7 @@ namespace Content.Server.EntityList
|
||||
|
||||
foreach (var entity in prototype.Entities(prototypeManager))
|
||||
{
|
||||
entityManager.SpawnEntity(entity.ID, IoCManager.Resolve<IEntityManager>().GetComponent<TransformComponent>(player.AttachedEntity).Coordinates);
|
||||
entityManager.SpawnEntity(entity.ID, entityManager.GetComponent<TransformComponent>(player.AttachedEntity.Value).Coordinates);
|
||||
i++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user