diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/Ledger.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/Ledger.kt | 2 |
1 files changed, 2 insertions, 0 deletions
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<Database>().loadAndUpgrade() + MinecraftForge.EVENT_BUS.post(RegistrationFinishedEvent()) } var lastJoin = -1L |