Closed KhaozFrost closed 5 years ago
Requirements
is not a child option of Item
.
# incorrect
{
Item {
Count = 1
ItemType = "%javascript_canbeuseditem_1%"
UnsafeDamage = 0
DisplayName = "%javascript_canbeusedslot_1%"
ItemLore = []
Requirements = "%trainer_team_1% != ''"
}
}
# correct
{
Item {
Count = 1
ItemType = "%javascript_canbeuseditem_1%"
UnsafeDamage = 0
DisplayName = "%javascript_canbeusedslot_1%"
ItemLore = []
}
Requirements = "%trainer_team_1% != ''"
}
Besides, try vscode plugin for formatting hocon files.
https://pastebin.com/UtscMKcw