Closed MattCM closed 5 years ago
This was an error with MCC not you. That command is syntactically correct. I will put out a new release now that has this fix. It may take some time for package control to notice the new version and update.
Can I force an update through package control?
Yes, you can use ctrl + shift + p to open the command palette, then search for upgrade packages and hit enter.
Found it, thanks for the pointers, this is all new to me but learning fast!
Bug in Marshal Command Code
When entering a empty chest NBT it is highlighted as incorrect. This is part of an execute command.
Screenshot:
Code: execute if block -304 2 354 minecraft:chest{Items:[]} run setblock -304 2 354 minecraft:chest{Items:[{id:"bread",Slot:1b,Count:64b},{id:"bread",Slot:2b,Count:64b},{id:"bread",Slot:3b,Count:64b},{id:"bread",Slot:4b,Count:64b},{id:"bread",Slot:10b,Count:64b},{id:"bread",Slot:11b,Count:64b},{id:"bread",Slot:12b,Count:64b},{id:"bread",Slot:13b,Count:64b},{id:"bread",Slot:19b,Count:64b},{id:"bread",Slot:20b,Count:64b},{id:"bread",Slot:21b,Count:64b},{id:"bread",Slot:22b,Count:64b}]} destroy
I'm sure there is some sort of placeholder that is needed to go within the {Items:[]} but I'm new and not sure what it should be.