Fix index out of range exception on the admin commands (#16478)
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Content.Server.Administration.Commands
|
||||
var entityManager = IoCManager.Resolve<IEntityManager>();
|
||||
var bodySystem = entityManager.System<BodySystem>();
|
||||
|
||||
if (bodySystem.TryCreatePartSlotAndAttach(parentId, args[3], childId))
|
||||
if (bodySystem.TryCreatePartSlotAndAttach(parentId, args[2], childId))
|
||||
{
|
||||
shell.WriteLine($@"Added {childId} to {parentId}.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user