Issues with inventory titles recently had been popular because of Vanilla's bug.
This issue is not related to Vanilla I belive. I will explain everything in steps:
- I have String variable i.e. str = "&0&lHello"
- I'm translating this using ChatColor class into str = Hello
- now will create inventory inv = Bukkit.createInventory(blah blah blah) <- in this step I'll normally put inventory title (my str variable)
- Now inv.getTitle() will return Bolded white text Hello
- It is not even white text. It doesn't have any color modifier, text is left with only &l
This bug only works with &0 color (I also tried using ChatColor.BLACK instead - same effect) Other colors I have tested (sea blue, grey, blue etc.) are working fine.
- duplicates
-
SPIGOT-4441 Reset color code is replaced when retrieving an item's/block's custom name
- Resolved