mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16: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) {
|
if (total != 0) {
|
||||||
String color;
|
|
||||||
if (unread > 0) {
|
|
||||||
color = "&c";
|
|
||||||
} else {
|
|
||||||
color = "";
|
|
||||||
}
|
|
||||||
player.sendMessage(
|
player.sendMessage(
|
||||||
TranslatableCaption.of("comment.inbox_item"),
|
TranslatableCaption.of("comment.inbox_item"),
|
||||||
Template.of("value", color + inbox.toString() + " (" + total + '/' + unread + ')')
|
Template.of("value", inbox.toString() + " (" + total + '/' + unread + ')')
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user