mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 10:35:16 +01:00
Dont load the full meta-file only to test if it exists
This commit is contained in:
parent
e5729a767c
commit
12b75f64a1
@ -138,7 +138,7 @@ public synchronized void save() {
|
||||
|
||||
// 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);
|
||||
|
Loading…
Reference in New Issue
Block a user