Do not remove the schematic file extension

This commit is contained in:
NotMyFault 2019-09-12 03:44:31 +02:00
parent 68a5166d2f
commit 6e387f3321

View File

@ -291,7 +291,7 @@ public abstract class SchematicHandler {
parent.list((dir, name) -> name.endsWith(".schematic") || name.endsWith(".schem"));
if (rawNames != null) {
final List<String> transformed = Arrays.stream(rawNames)
.map(rawName -> rawName.substring(0, rawName.length() - 10))
//.map(rawName -> rawName.substring(0, rawName.length() - 10))
.collect(Collectors.toList());
names.addAll(transformed);
}