disallowing nicknames (may contain non-ascii) on filename: somehow incompatible with BTRFS and Java 17?

This commit is contained in:
minjaesong
2023-05-17 19:52:51 +09:00
parent 4ba1173d8a
commit 68b5d15944
6 changed files with 12 additions and 13 deletions

View File

@@ -788,7 +788,7 @@ fun AppUpdateListOfSavegames() {
// create list of worlds
File(worldsDir).listFiles().filter { !it.isDirectory && !it.name.contains('.') }.mapNotNull { file ->
try {
DiskSkimmer(file, Common.CHARSET, true)
DiskSkimmer(file, true)
}
catch (e: Throwable) {
System.err.println("Unable to load a world file ${file.absolutePath}")
@@ -814,7 +814,7 @@ fun AppUpdateListOfSavegames() {
// create list of players
File(playersDir).listFiles().filter { !it.isDirectory && !it.name.contains('.') }.mapNotNull { file ->
try {
DiskSkimmer(file, Common.CHARSET, true)
DiskSkimmer(file, true)
}
catch (e: Throwable) {
System.err.println("Unable to load a player file ${file.absolutePath}")