diff --git a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/map/TextureGallery.java b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/map/TextureGallery.java index 5ee4a6b0e..7e76f3c60 100644 --- a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/map/TextureGallery.java +++ b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/map/TextureGallery.java @@ -25,6 +25,7 @@ package de.bluecolored.bluemap.core.map; import com.google.gson.JsonIOException; +import com.google.gson.JsonParseException; import de.bluecolored.bluemap.api.debug.DebugDump; import de.bluecolored.bluemap.core.resources.ResourcePath; import de.bluecolored.bluemap.core.resources.adapter.ResourcesGson; @@ -110,7 +111,7 @@ public static TextureGallery readTexturesFile(InputStream in) throws IOException gallery.textureMappings.put(texture.getResourcePath(), new TextureMapping(ordinal, texture)); } } - } catch (JsonIOException ex) { + } catch (JsonParseException ex) { throw new IOException(ex); } return gallery;