From 7e007e7a9adf550e70b809ce8239dd9b5a15d45c Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 19 Dec 2024 20:57:25 +0100 Subject: feat: Add tab completion to query command --- src/main/kotlin/moe/nea/ledger/Ledger.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/ledger/Ledger.kt') 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()) -- cgit