Skip to content

Commit e27fe73

Browse files
committed
Fix ANSI color format reset in log messages
1 parent 9bc2b4d commit e27fe73

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/java/org/mvplugins/multiverse/core/MultiverseCore.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,12 @@ private Try<Void> saveAllConfigs() {
226226
* Logs the enable message.
227227
*/
228228
private void logEnableMessage() {
229-
Logging.config("\u001B[32mVersion %s (API v%s) Enabled - By %s\u001B[39m",
229+
Logging.config("\u001B[32mVersion %s (API v%s) Enabled - By %s\u001B[0m",
230230
this.getDescription().getVersion(), getVersionAsNumber(), StringFormatter.joinAnd(getDescription().getAuthors()));
231231

232232
if (configProvider.get().isShowingDonateMessage()) {
233-
Logging.config("\u001B[32mLoving Multiverse-Core? Please consider supporting the project with a small donation: https://github.com/sponsors/Multiverse\u001B[39m");
233+
Logging.config("\u001B[32mLoving Multiverse-Core? Please consider supporting the project with a " +
234+
"small donation: https://github.com/sponsors/Multiverse\u001B[0m");
234235
}
235236
}
236237

0 commit comments

Comments
 (0)