This commit is contained in:
CocoTheOwner 2021-09-10 15:02:56 +02:00
parent 466cc84c16
commit e46b335dc0
2 changed files with 4 additions and 2 deletions

View File

@ -77,7 +77,8 @@ public class DecreeNode {
}
public KList<String> getNames() {
KList<String> d = new KList<>(getName());
KList<String> d = new KList<>();
d.add(getName());
for (String i : decree.aliases()) {
if (i.isEmpty()) {

View File

@ -162,7 +162,8 @@ public class VirtualDecreeCommand {
}
Decree dc = getType().getDeclaredAnnotation(Decree.class);
KList<String> d = new KList<>(dc.name());
KList<String> d = new KList<>();
d.add(dc.name());
for (String i : dc.aliases()) {
if (i.isEmpty()) {
continue;