From 383e2b8f7d529ef09496b1407a3cdee6dfc587b6 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 12 Jan 2025 17:38:01 +0100 Subject: feat: Add more debug logging to resource reloads --- .../moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt b/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt index 02c0714..20f1fb6 100644 --- a/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt +++ b/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt @@ -100,12 +100,12 @@ object CustomGlobalTextures : SinglePreparationResourceReloader(guiClassResource.inputStream) .getOrElse { ex -> - ErrorUtil.softError("Failed to load screen filter at $key", ex) + ErrorUtil.softError("Failed to load screen filter at $key used by ${it.value.map { it.first }}", ex) return@mapNotNull null } ItemOverrideCollection(screenFilter, it.value.map { it.second }) -- cgit