mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 11:40:41 +00:00
Do not remove the schematic file extension
This commit is contained in:
parent
68a5166d2f
commit
6e387f3321
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue