diff options
author | Linnea Gräf <nea@nea.moe> | 2024-12-07 23:10:13 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-12-07 23:10:13 +0100 |
commit | 3acf36fbd07686431b8fbb5484f1f70b52651dc5 (patch) | |
tree | 2e7a582bc481c73bbd268a6fe8de57e5a5cf4e95 /src/main/kotlin/moe/nea/ledger/Ledger.kt | |
parent | 0ca988c907c7e8e26029f59cc098e6be5e008ee5 (diff) | |
download | LocalTransactionLedger-3acf36fbd07686431b8fbb5484f1f70b52651dc5.tar.gz LocalTransactionLedger-3acf36fbd07686431b8fbb5484f1f70b52651dc5.tar.bz2 LocalTransactionLedger-3acf36fbd07686431b8fbb5484f1f70b52651dc5.zip |
Add kuudra chest detection
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/Ledger.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/Ledger.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/Ledger.kt b/src/main/kotlin/moe/nea/ledger/Ledger.kt index ee15a83..3b14884 100644 --- a/src/main/kotlin/moe/nea/ledger/Ledger.kt +++ b/src/main/kotlin/moe/nea/ledger/Ledger.kt @@ -15,6 +15,7 @@ import moe.nea.ledger.modules.BitsDetection import moe.nea.ledger.modules.BitsShopDetection import moe.nea.ledger.modules.DungeonChestDetection import moe.nea.ledger.modules.KatDetection +import moe.nea.ledger.modules.KuudraChestDetection import moe.nea.ledger.modules.MinionDetection import moe.nea.ledger.modules.NpcDetection import moe.nea.ledger.utils.DI @@ -87,6 +88,8 @@ class Ledger { val di = DI() di.registerSingleton(this) + di.registerSingleton(Minecraft.getMinecraft()) + di.registerSingleton(gson) di.registerInjectableClasses( AuctionHouseDetection::class.java, BankDetection::class.java, @@ -99,12 +102,12 @@ class Ledger { DungeonChestDetection::class.java, ItemIdProvider::class.java, KatDetection::class.java, + KuudraChestDetection::class.java, LedgerLogger::class.java, LogChatCommand::class.java, MinionDetection::class.java, NpcDetection::class.java, ) - di.registerSingleton(gson) di.instantiateAll() di.getAllInstances().forEach(MinecraftForge.EVENT_BUS::register) di.getAllInstances().filterIsInstance<ICommand>() |