From 812442fbbc7eb2e3c4e47f55528aabb400b1afa0 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Fri, 30 Apr 2021 13:22:00 +0200 Subject: [PATCH] Don't double color the inbox --- .../src/main/java/com/plotsquared/core/command/Inbox.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/Inbox.java b/Core/src/main/java/com/plotsquared/core/command/Inbox.java index 4da26bcda..d8707a847 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Inbox.java +++ b/Core/src/main/java/com/plotsquared/core/command/Inbox.java @@ -147,15 +147,9 @@ public class Inbox extends SubCommand { } } if (total != 0) { - String color; - if (unread > 0) { - color = "&c"; - } else { - color = ""; - } player.sendMessage( TranslatableCaption.of("comment.inbox_item"), - Template.of("value", color + inbox.toString() + " (" + total + '/' + unread + ')') + Template.of("value", inbox.toString() + " (" + total + '/' + unread + ')') ); return; }