aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/kotlin/moe/nea/ledger/modules/BankInterestDetection.kt
diff options
context:
space:
mode:
Diffstat (limited to 'mod/src/main/kotlin/moe/nea/ledger/modules/BankInterestDetection.kt')
-rw-r--r--mod/src/main/kotlin/moe/nea/ledger/modules/BankInterestDetection.kt4
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"))),