diff options
author | Linnea Gräf <nea@nea.moe> | 2025-01-21 00:37:35 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-01-21 00:37:35 +0100 |
commit | 550441921eed03b88ec94bea10deb1c45ef6e17b (patch) | |
tree | a274d03cec8f0f2851ea4900150e0de9d96a7613 /mod/src/main/kotlin | |
parent | aa84007823ddd16caf9ea7f2f2a039b7e95c0648 (diff) | |
download | LocalTransactionLedger-550441921eed03b88ec94bea10deb1c45ef6e17b.tar.gz LocalTransactionLedger-550441921eed03b88ec94bea10deb1c45ef6e17b.tar.bz2 LocalTransactionLedger-550441921eed03b88ec94bea10deb1c45ef6e17b.zip |
feat: Auto enable ledger log chat in devenvnightly
Diffstat (limited to 'mod/src/main/kotlin')
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt b/mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt index fd5ed3d..6b4e51c 100644 --- a/mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt @@ -2,6 +2,7 @@ package moe.nea.ledger.config import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean import io.github.notenoughupdates.moulconfig.annotations.ConfigOption +import moe.nea.ledger.DevUtil class DebugOptions { @ConfigOption(name = "Log entries to chat", @@ -9,5 +10,5 @@ class DebugOptions { @Transient @ConfigEditorBoolean @JvmField - var logEntries = false + var logEntries = DevUtil.isDevEnv } |