Closed NotMyFault closed 5 years ago
Might actually be à BentoBox issue as well. Shouldn't we do some prévention code international Bbox @tastybento ?
I could not find a similar case where colors are not parsed correctly, so I quoted it on here, but since this is just an addon, bbox might be the root cause.
There must be something else going on here because I don't see this issue.
What happens if you change the § to &? The § character is a native Bukkit color code that we don't touch or strip. Usually we use & because it's easier to type.
That happens with &
, I'm wondering which version you are on or how your default.json values are named. Odd that it only happens to me.
I'll fix the translation of & and let's see if that helps. I am using the latest version of everything.
I'll fix the translation of & and let's see if that helps. I am using the latest version of everything.
Yeah, I just setup a new server and got both from the CI. I gave it a shot with Paper and Spigot, no luck tho.
What client are you using? And what locale? I see this at the bottom of the description:
Locale default, that's just the extended NBT info if you enabled F3+H
okay, well, try the new build once it's ready on the CI - use the default.json that has &'s in it instead of §. Let's see if that matters.
Yeah, the latest changes resolved it. Nice one, thanks ;p
Description
Describe the bug
The color codes in the
default.json
blueprint are not translated to proper colors ingame https://github.com/BentoBoxWorld/BSkyBlock/blob/8917a1d4dbd927ffc1845f6bde09f84d16f3708b/src/main/resources/blueprints/default.json#L4-L9 results in It colors them correctly, yet it also contains one of those ugly chars.Steps to reproduce the behavior
Install the BSkyBlock addon and run /is
Screenshots and videos
Already posted above
Expected behavior
Either strip them completely (like in the other files) or a solution to translate them properly would do it.
Environment
Server
Plugins
-
BentoBox setup
BentoBox and Addons
Configuration
Additional context