mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 20:56:45 +01:00
Don't double color the inbox
This commit is contained in:
parent
1750dd3b97
commit
812442fbbc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user