diff options
author | Linnea Gräf <nea@nea.moe> | 2024-04-02 16:30:46 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-04-02 16:30:46 +0200 |
commit | 3f2c87f82167afe75e8c17f74d24e8ee659d4a61 (patch) | |
tree | 6fcbf9ea1190b986ab3b48697e0f1be98b36f84e /src/main/kotlin/moe/nea/ledger | |
parent | 6ffca24b549fc50988b26dacb5297ff8bec7e601 (diff) | |
download | money-ledger-3f2c87f82167afe75e8c17f74d24e8ee659d4a61.tar.gz money-ledger-3f2c87f82167afe75e8c17f74d24e8ee659d4a61.tar.bz2 money-ledger-3f2c87f82167afe75e8c17f74d24e8ee659d4a61.zip |
Remove chat printing
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger')
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/LedgerLogger.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt b/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt index 56738c5..1e6a861 100644 --- a/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt +++ b/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt @@ -73,7 +73,6 @@ class LedgerLogger { } fun logEntry(entry: LedgerEntry) { - printToChat(entry) Ledger.logger.info("Logging entry of type ${entry.transactionType}") entries.add(entry.intoJson(currentProfile)) commit() @@ -124,7 +123,8 @@ data class LedgerEntry( addProperty("profileId", profileId) addProperty( "playerId", - (Minecraft.getMinecraft().thePlayer?.uniqueID?.toString() ?: lastKnownUUID).also { lastKnownUUID = it }) + (Minecraft.getMinecraft().thePlayer?.uniqueID?.toString() ?: lastKnownUUID) + .also { lastKnownUUID = it }) } } } |