Empty lore line added on a item with customized durability
What happened?
As seen on the CustomCrafting Discord support, we've added a custom item (a piece of armor) to CustomCrafting (see screen 1), which has a custom durability (see screen 2). When obtained, the item is correct in its description (name and lores) (see screen 3). But when it loses durability (at least 1 point), a new empty lore line appears in the item description (see screen 4), which can be seen precisely in the item data (see screen 5). This is a little awkward for visibility in the graphical interface.
Screen 1 : https://cdn.discordapp.com/attachments/498358213842960394/1129120543749185649/screen_1.png Screen 2 : https://cdn.discordapp.com/attachments/498358213842960394/1129120544122482779/screen_2.png Screen 3 : https://cdn.discordapp.com/attachments/498358213842960394/1129120544629989586/screen_3.png Screen 4 : https://cdn.discordapp.com/attachments/498358213842960394/1129120545062006965/screen_4.png Screen 5 : https://cdn.discordapp.com/attachments/498358213842960394/1129120545653395577/screen_5.png
How can the bug be reproduced?
- Create a item with customized durability and get it ;
- Give it durability damage (at least 1 point) ;
Expected Behaviour?
The object should not have an empty lore line added and should remain intact in its description, even though it has been modified by the plugin.
Plugin version
CustomCrafting 4.16.8.0 (the free version), WolfyUtilities 4.16.12.0
Server software
Paper 1.19.4, Build 550
Relevant log output
No response
Submit issue
- [X] read the Wiki and especially the FaQ, and made sure there is no fix to your issue,
- [X] searched for and ensured there isn't already an open issue regarding this,
- [X] are running the latest version of your server software (Spigot, Paper, etc.), and plugins (WolfyUtilities, CustomCrafting).