aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/ledger/Ledger.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-12-19 20:57:25 +0100
committerLinnea Gräf <nea@nea.moe>2024-12-19 20:57:25 +0100
commit7e007e7a9adf550e70b809ce8239dd9b5a15d45c (patch)
tree00a83f44ad600896fda7233a64c9767545966844 /src/main/kotlin/moe/nea/ledger/Ledger.kt
parent4d40f0fa713bc396def07f3f9e4760bf78b97777 (diff)
downloadLocalTransactionLedger-7e007e7a9adf550e70b809ce8239dd9b5a15d45c.tar.gz
LocalTransactionLedger-7e007e7a9adf550e70b809ce8239dd9b5a15d45c.tar.bz2
LocalTransactionLedger-7e007e7a9adf550e70b809ce8239dd9b5a15d45c.zip
feat: Add tab completion to query command
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/Ledger.kt')
-rw-r--r--src/main/kotlin/moe/nea/ledger/Ledger.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/Ledger.kt b/src/main/kotlin/moe/nea/ledger/Ledger.kt
index e5af95c..2f828b0 100644
--- a/src/main/kotlin/moe/nea/ledger/Ledger.kt
+++ b/src/main/kotlin/moe/nea/ledger/Ledger.kt
@@ -87,13 +87,13 @@ class Ledger {
fun runLater(runnable: Runnable) {
tickQueue.add(runnable)
}
+ val di = DI()
}
@Mod.EventHandler
fun init(event: FMLInitializationEvent) {
logger.info("Initializing ledger")
- val di = DI()
TelemetryProvider.setupFor(di)
di.registerSingleton(this)
di.registerSingleton(Minecraft.getMinecraft())