diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-04-26 00:26:14 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 16:26:14 +0200 |
commit | 3231e1c6da4a81b8c574ffd786d867d207912e54 (patch) | |
tree | 6678d9645c1f259d865d44ba064164b056c5f185 /src/main/kotlin/io | |
parent | 0f5e1486b43ba4164cc053d1b6456f00b9c38949 (diff) | |
download | NotEnoughUpdates-3231e1c6da4a81b8c574ffd786d867d207912e54.tar.gz NotEnoughUpdates-3231e1c6da4a81b8c574ffd786d867d207912e54.tar.bz2 NotEnoughUpdates-3231e1c6da4a81b8c574ffd786d867d207912e54.zip |
meta: Fix log spam when optifine isnt loaded (#1115)
Diffstat (limited to 'src/main/kotlin/io')
-rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/miscgui/DynamicLightItemsEditor.kt | 3 |
1 files changed, 1 insertions, 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) { |