From 219fe583725c01c777a8cbe7074ed0d2d34cefeb Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Tue, 21 Jan 2025 00:10:09 +0100 Subject: fix: Transaction Type --- mod/src/main/kotlin/moe/nea/ledger/modules/BankInterestDetection.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/src/main') diff --git a/mod/src/main/kotlin/moe/nea/ledger/modules/BankInterestDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/BankInterestDetection.kt index fb39d87..7bce432 100644 --- a/mod/src/main/kotlin/moe/nea/ledger/modules/BankInterestDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/BankInterestDetection.kt @@ -28,7 +28,7 @@ class BankInterestDetection { bankInterestPattern.useMatcher(event.message) { logger.logEntry( LedgerEntry( - TransactionType.BANK_WITHDRAW, + TransactionType.BANK_INTEREST, event.timestamp, listOf( ItemChange.gainCoins(parseShortNumber(group("coins"))), @@ -39,7 +39,7 @@ class BankInterestDetection { offlineBankInterestPattern.useMatcher(event.message) { logger.logEntry( LedgerEntry( - TransactionType.BANK_WITHDRAW, + TransactionType.BANK_INTEREST, event.timestamp, listOf( ItemChange.gainCoins(parseShortNumber(group("coins"))), -- cgit