I have tried trouble shooting and cant seem to find a solution. My script
event.custom({
type: 'minecraft:anvil_repair',
baseItem: 'kubejs:sun_stone_helmet'
repairItem: [{Item.of('pixelmon:sun_stone')}]
})
})```
My error code
```20:46:14] [ERROR] ! repairItem: [{Item.of('pixelmon:sun_stone')}]#22: missing } after property list
[20:46:14] [ERROR] ! …rhino.EvaluatorException: missing } after property list (server_scripts:pixelmon_armor_replacements.js#22)```
And working .json version of recipe.
```{
"type": "minecraft:anvil_repair",
"baseItem": "kubejs:sun_stone_helmet"
"repairItem": {
"item": "pixelmon:sun_stone"
}
}```