JitseB / NPCLib

(Minecraft) NPCLib – Basic non-player character library.
MIT License
197 stars 49 forks source link

HEX colors #165

Closed Patrik950 closed 3 years ago

Patrik950 commented 3 years ago

Describe the bug A clear and concise description of what the bug is. I tried my colorize method (which by this hologram shows only like &1&lTEXT), too like #RGBRGB and doesn't work

NPCLib usage option NPCLib can be used in multiple ways, please provide the number corresponding to your usage option. 1

NPCLib JAR name E.g. npclib-plugin-2.0.1-SNAPSHOT.jar Newest last npclib-plugin-2.12.1-SNAPSHOT

Server version E.g. CraftBukkit version git-Spigot-a1f2566-97b0057 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT) (use command /version) Purpur version git-Purpur-1060 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.


Screenshots If applicable, add screenshots to help explain your problem.


Additional context Add any other context about the problem here.


JitseB commented 3 years ago

You should use the ChatColor enum. Minecraft only recognizes the § for colors. NPCLib does not convert ampersands to the paragraph sign.

Closing issue.