13
0

Fix SchematicCommand

Dieser Commit ist enthalten in:
yoyosource 2022-01-15 11:33:03 +01:00
Ursprung 6f93130fe6
Commit 769538bef3

Datei anzeigen

@ -293,9 +293,10 @@ public class SchematicCommand extends SWCommand {
}
i++;
}
}
} else {
predicates.add(node -> node.getName().contains(current));
nameList.add(current);
}
i++;
}
@ -674,7 +675,9 @@ public class SchematicCommand extends SWCommand {
}
return mapper.tabCompletes(commandSender, strings, s);
}
return Collections.singletonList(s);
List<String> list = new ArrayList<>(searchMapper.keySet());
list.add(s);
return list;
}
};
}