Adjusting some stuff :)

This commit is contained in:
Paul Reilly
2023-04-07 16:06:11 -05:00
parent 8262e81e69
commit e2d7f6ebcb
21 changed files with 718 additions and 416 deletions

View File

@ -39,7 +39,6 @@ public class DisplayableGroup implements Displayable
private final boolean hasDefaultLoginMessage;
public DisplayableGroup(String group,
String inheritance,
Component plural,
Component tag,
int weight,
@ -65,11 +64,6 @@ public class DisplayableGroup implements Displayable
.prefix(FUtil.miniMessage(GroupProvider.OPEN.append(tag.color(color)).append(GroupProvider.CLOSE)))
.priority(1)
.build();
if (inheritance != null)
{
InheritanceNode inheritanceNode = InheritanceNode.builder(inheritance).build();
g.getData(DataType.NORMAL).add(inheritanceNode);
}
g.getData(DataType.NORMAL).add(prefixNode);
g.getData(DataType.NORMAL).add(weightNode);
}).join(); // Block until the group is created and loaded.