**Expected behavior**
Base gets deconstructed and devices placed in specified inventory.
**Screenshots**
![2024-06-23-225709_2560x1440_scrot](https://github.com/GitHub-TC/EmpyrionScripting/assets/3472645/60919a04-5048-421f-8d6c-3a686ab4ef6b)
**Additional context**
Using concat with some dummy IDs to swallow the leading and trailing commas works. This script works:
After some initial digging, I assume [this](https://github.com/GitHub-TC/EmpyrionScripting/blob/e1677d671b8f75aee22f5a3d4c46a82452670124/EmpyrionScripting/CustomHelpers/ConveyorHelpers.cs#L948) line is the problem.
Describe the bug Deconstruct command does not handle leading/trailing commas in RemoveItemsIds parameter.
Additionally the bug also appears whenever the parameter contains an empty member, e.g. "1,,2".
To Reproduce Steps to reproduce the behavior:
{{#entitiesbyname 'Des-*' 500}} {{#each .}} {{#test @root.E.Id neq Id}} {{Name}}: {{#deconstruct . 'A Sort 640K' 'DesMe' @root.Ids.DeviceL }}
TotalBlocks: {{TotalBlocks}} CheckedBlocks: {{CheckedBlocks}} RemovedBlocks: {{RemovedBlocks}} {{else}}
{{/deconstruct}} {{/test}} {{/each}} {{/entitiesbyname}}
Targets:LCD Debug
{{#entitiesbyname 'Des-*' 500}} {{#each .}} {{#test @root.E.Id neq Id}} {{Name}}: {{#deconstruct . 'A Sort 640K' 'DesMe' (concat '468' @root.Ids.DeviceL '584' ) }}
TotalBlocks: {{TotalBlocks}} CheckedBlocks: {{CheckedBlocks}} RemovedBlocks: {{RemovedBlocks}} {{else}}
{{/deconstruct}} {{/test}} {{/each}} {{/entitiesbyname}}