diff options
author | jani270 <69345714+jani270@users.noreply.github.com> | 2025-01-21 00:10:09 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-01-21 00:15:49 +0100 |
commit | 219fe583725c01c777a8cbe7074ed0d2d34cefeb (patch) | |
tree | 3dd4e108336adf23b066aab33e9cc6c5b0fff4bc /mod/src | |
parent | 65eb43646abc6b9d9abf34bff5df2ba1f7e4dff3 (diff) | |
download | LocalTransactionLedger-219fe583725c01c777a8cbe7074ed0d2d34cefeb.tar.gz LocalTransactionLedger-219fe583725c01c777a8cbe7074ed0d2d34cefeb.tar.bz2 LocalTransactionLedger-219fe583725c01c777a8cbe7074ed0d2d34cefeb.zip |
fix: Transaction Type
Diffstat (limited to 'mod/src')
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/BankInterestDetection.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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"))), |