mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-08-30 16:09:33 +02:00
Fix temporary group display format in parent info command (#518)
This commit is contained in:
parent
e8896fbdf7
commit
af5c859385
|
@ -115,7 +115,7 @@ public class ParentInfo extends SharedSubCommand {
|
|||
|
||||
TextComponent.Builder message = TextComponent.builder("");
|
||||
for (Node node : page) {
|
||||
String s = "&3> &a" + node.getPermission() + Util.getAppendableNodeContextString(node) + "\n&2- expires in " + DateUtil.formatDateDiff(node.getExpiryUnixTime()) + "\n";
|
||||
String s = "&3> &a" + node.getGroupName() + Util.getAppendableNodeContextString(node) + "\n&2- expires in " + DateUtil.formatDateDiff(node.getExpiryUnixTime()) + "\n";
|
||||
message.append(TextUtils.fromLegacy(s, Constants.FORMAT_CHAR).toBuilder().applyDeep(makeFancy(holder, label, node)).build());
|
||||
}
|
||||
return message.build();
|
||||
|
|
Loading…
Reference in New Issue
Block a user