From 3231e1c6da4a81b8c574ffd786d867d207912e54 Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Fri, 26 Apr 2024 00:26:14 +1000 Subject: meta: Fix log spam when optifine isnt loaded (#1115) --- .../moulberry/notenoughupdates/miscgui/DynamicLightItemsEditor.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscgui/DynamicLightItemsEditor.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscgui/DynamicLightItemsEditor.kt index 268bd875..ecab9c6e 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscgui/DynamicLightItemsEditor.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscgui/DynamicLightItemsEditor.kt @@ -230,8 +230,7 @@ class DynamicLightItemsEditor() : GuiScreen() { try { Class.forName("net.optifine.DynamicLights") println("Loaded dynamic lights successfully.") - } catch (e: Exception) { - e.printStackTrace() + } catch (_: Exception) { } hasAttemptedToLoadOptifine = true if (!didApplyMixin) { -- cgit