mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Do not remove the schematic file extension
This commit is contained in:
parent
68a5166d2f
commit
6e387f3321
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user