Single line of lore does not displayed
Closed this issue · 4 comments
Ling-Ink commented
I was following the User Beginner Guide and I found when I add single lore to a item, it does not displayed
I found that ParserContext.getOptionalStringArray()
used foreach to process the lore array, but when there have only one lore, the getOptionalNode()
returned JsonNode is String instead of Array
ToberoCat commented
Thanks for reporting this issue. I'll take a look at fixing it right now.
Ling-Ink commented
ToberoCat commented
Thanks I've used your implementation with some minor changes. Bug will now be fixed in the newer version of the plugin
ToberoCat commented
If you happen to come across a bug and manage to resolve it locally, please feel free to submit a pull request.