mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-03 01:10:17 +01:00
Fixed a bug with the font not loading
This commit is contained in:
parent
184949efca
commit
ff5b8882d2
@ -87,13 +87,7 @@ public class Theme implements SubSystem {
|
||||
private String getColor(ThemeVal variable) {
|
||||
String path = variable.getThemePath();
|
||||
try {
|
||||
String value = themeConfig.getString(path);
|
||||
|
||||
if (value.contains(".")) {
|
||||
return "url(\"" + value + "\")";
|
||||
} else {
|
||||
return value;
|
||||
}
|
||||
return themeConfig.getString(path);
|
||||
} catch (Exception | NoSuchFieldError e) {
|
||||
logger.error("Something went wrong with getting variable " + variable.name() + " for: " + path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user