Dont load the full meta-file only to test if it exists

This commit is contained in:
Lukas Rieger (Blue) 2023-02-01 21:42:43 +01:00
parent e5729a767c
commit 12b75f64a1
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class BmMap {
// only save texture gallery if not present in storage
try {
if (storage.readMeta(id, META_FILE_TEXTURES).isEmpty())
if (storage.readMetaInfo(id, META_FILE_TEXTURES).isEmpty())
saveTextureGallery();
} catch (IOException e) {
Logger.global.logError("Failed to read texture gallery", e);