mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
.
This commit is contained in:
parent
1c0c28f5b1
commit
fffead4a16
@ -171,11 +171,9 @@ public class Inbox extends SubCommand {
|
|||||||
} else {
|
} else {
|
||||||
final List<String> recipients = Arrays.asList("A", "O", "H", "T", "E");
|
final List<String> recipients = Arrays.asList("A", "O", "H", "T", "E");
|
||||||
int count = 1;
|
int count = 1;
|
||||||
final StringBuilder message = new StringBuilder(C.COMMENT_HEADER.s()+"\n");
|
final StringBuilder message = new StringBuilder(C.COMMENT_HEADER.s());
|
||||||
String prefix = "";
|
|
||||||
for (final PlotComment comment : comments) {
|
for (final PlotComment comment : comments) {
|
||||||
message.append(prefix).append("&c[").append(count).append("]&6[").append(recipients.get(tier2 == -1 ? 0 : tier2)).append("] &7").append(comment.senderName).append("&f: ").append(comment.comment);
|
message.append("\n&8[&7" + comment.id + "&8]" + "&c[" + count + "]&6[" + recipients.get(tier2 == -1 ? 0 : tier2) + "] &7" + comment.senderName + "&f: " + comment.comment);
|
||||||
prefix = "\n" + comment.id;
|
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
if (comments.size() == 0) {
|
if (comments.size() == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user