From 0ca988c907c7e8e26029f59cc098e6be5e008ee5 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 7 Dec 2024 22:30:51 +0100 Subject: feat: Add dungeon chest loot detection --- src/main/kotlin/moe/nea/ledger/Ledger.kt | 2 ++ 1 file changed, 2 insertions(+) (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 8a4b850..ee15a83 100644 --- a/src/main/kotlin/moe/nea/ledger/Ledger.kt +++ b/src/main/kotlin/moe/nea/ledger/Ledger.kt @@ -6,6 +6,7 @@ import moe.nea.ledger.config.LedgerConfig import moe.nea.ledger.database.Database import moe.nea.ledger.events.ChatReceived import moe.nea.ledger.events.LateWorldLoadEvent +import moe.nea.ledger.events.RegistrationFinishedEvent import moe.nea.ledger.modules.AuctionHouseDetection import moe.nea.ledger.modules.BankDetection import moe.nea.ledger.modules.BazaarDetection @@ -110,6 +111,7 @@ class Ledger { .forEach { ClientCommandHandler.instance.registerCommand(it) } di.provide().loadAndUpgrade() + MinecraftForge.EVENT_BUS.post(RegistrationFinishedEvent()) } var lastJoin = -1L -- cgit