Skip to content

Commit

Permalink
Adjust importer color
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 committed May 7, 2023
1 parent 3c26f92 commit 9ad75f1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ public final void start(@NotNull CommandUser user) {

for (ImportData data : supportedImportData) {
try {
log(user, Level.INFO, "⌚ Importing " + data.getName() + "...");
log(user, Level.INFO, "⌚ Importing " + data.getName() + "...");
final int entries = importData(data);
log(user, Level.INFO, "│ └ ✔ Imported " + data.getName() + " (" + entries + " entries)");
log(user, Level.INFO, "✔ Imported " + data.getName() + " (" + entries + " entries)");
} catch (Throwable e) {
log(user, Level.WARNING, "│ └ ❌ Failed to import " + data.getName() + ": " + e.getMessage(), e);
log(user, Level.WARNING, "❌ Failed to import " + data.getName() + ": " + e.getMessage(), e);
return;
}
}
Expand All @@ -76,7 +76,7 @@ protected final void log(@NotNull CommandUser user, @NotNull Level level, @NotNu
if (user instanceof OnlineUser online) {
final TextColor color = level == Level.SEVERE || level == Level.WARNING
? TextColor.color(0xff3300)
: TextColor.color(0xfff021);
: TextColor.color(0xC3C3C3);
online.sendMessage(Component.text(message, color));
}
plugin.log(level, message, e);
Expand Down

0 comments on commit 9ad75f1

Please sign in to comment.