From 3f2e836a83ae810840c13351ca08f7f016ca3b26 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 10 Jan 2019 21:41:32 -0700 Subject: [PATCH] Minor fixes --- art/themes/luciano_blocktronics/theme.hjson | 2 +- core/achievement.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/art/themes/luciano_blocktronics/theme.hjson b/art/themes/luciano_blocktronics/theme.hjson index 99164a2b..f3871ce8 100644 --- a/art/themes/luciano_blocktronics/theme.hjson +++ b/art/themes/luciano_blocktronics/theme.hjson @@ -984,7 +984,7 @@ achievements: { defaults: { format: "|08 > |10{title} |08(|11{points} |03points|08)\r\n\r\n {message}" - globalformat: "|08 > |10{title} |08(|11{points} |03points|08)\r\n\r\n {message}" + globalFormat: "|08 > |10{title} |08(|11{points} |03points|08)\r\n\r\n {message}" titleSGR: "|10" pointsSGR: "|12" textSGR: "|00|03" diff --git a/core/achievement.js b/core/achievement.js index ad7644ba..f57e2f06 100644 --- a/core/achievement.js +++ b/core/achievement.js @@ -485,7 +485,7 @@ class Achievements { }; if(headerArt || footerArt) { const themeDefaults = _.get(info.client.currentTheme, 'achievements.defaults', {}); - const defaultContentsFormat = '{title}\r\n${message}'; + const defaultContentsFormat = '{title}\r\n{message}'; const contentsFormat = 'global' === itemType ? themeDefaults.globalFormat || defaultContentsFormat : themeDefaults.format || defaultContentsFormat;