eCloud list outputs expansion information on a single line instead of multiple. Fixes #367

This commit is contained in:
extendedclip 2020-07-24 12:40:07 -04:00
parent 5fec3b53d0
commit 623fd68ccc

View File

@ -148,16 +148,15 @@ public final class CommandECloudExpansionList extends PlaceholderCommand
.append(". ")
.append((expansion.shouldUpdate() ? "&6" : expansion.hasExpansion() ? "&a" : "&7"))
.append(expansion.getName())
.append('\n')
.append(" &bAuthor: &f")
.append(" &8[&bAuthor: &f")
.append(expansion.getAuthor())
.append('\n')
.append(" &bVerified: ")
.append("&8, ")
.append("&bVerified: ")
.append(expansion.isVerified() ? "&a&l✔&r" : "&c&l❌&r")
.append('\n')
.append(" &bLatest Version: &f")
.append("&8, ")
.append("&bLatest Version: &f")
.append(expansion.getLatestVersion())
.append('\n');
.append("&8]");
}
Msg.msg(sender, builder.toString());