Avoid passing text through the new parser for legacy API methods #276
Labels
module:core
Related to the core module
regression
Something that was working but it isn't anymore
type:bug
Something isn't working as expected
Milestone
The old API methods, such as
LanguageManager#getText
are using the new Adventure parser, which removes the original color codes and might change their location.People using the API might not account for this, since this was not the behaviour on v3.
To avoid this, just use simple string text-replacement for these methods, providing similar behaviour to v3.
The text was updated successfully, but these errors were encountered: