aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/io
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2024-04-26 00:26:14 +1000
committerGitHub <noreply@github.com>2024-04-25 16:26:14 +0200
commit3231e1c6da4a81b8c574ffd786d867d207912e54 (patch)
tree6678d9645c1f259d865d44ba064164b056c5f185 /src/main/kotlin/io
parent0f5e1486b43ba4164cc053d1b6456f00b9c38949 (diff)
downloadNotEnoughUpdates-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.kt3
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) {