I'm working on something to randomly equip armor to entities during spawning and was trying to simplify a script a bit. Using the below returns an error "'legs:netherite_leggings' is an unknown argument!", while just passing "legs" explicitly instead of by variable will function as expected.
I'm wondering whether this syntax is supported. The alternative approach was to do this with a - choose <[slot]>.
Script: https://paste.denizenscript.com/View/121192
Debug: https://paste.denizenscript.com/View/121191
Content of Denizen Script Paste #121192: Unnamed Denizen Script Paste... pasted 2024/03/21 15:35:45 UTC-07:00, Paste length: 148 characters across 6 lines, Content: test1: debug: true
Content of Server Log Paste #121191: Denizen Debug Logs From Let's Begin... pasted 2024/03/21 15:30:53 UTC-07:00, Paste length: 3550 characters across 38 lines, Content: Java Version: 17.0.1Up-time: 2d 16h