aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2024-10-30 11:54:33 +0100
committerjani270 <69345714+jani270@users.noreply.github.com>2024-10-30 11:54:33 +0100
commit6c793e838599fa30494893eccab52f9e86c69d4f (patch)
tree7dd936a1a6971e2baf4609c62cf84f8d7e58a710
parent5861b04239c801fac74aadac8583594bfc4a46ea (diff)
downloadLocalTransactionLedger-6c793e838599fa30494893eccab52f9e86c69d4f.tar.gz
LocalTransactionLedger-6c793e838599fa30494893eccab52f9e86c69d4f.tar.bz2
LocalTransactionLedger-6c793e838599fa30494893eccab52f9e86c69d4f.zip
refactor: Remove comment from NpcDetection as its already present in Ledger file
-rw-r--r--src/main/kotlin/moe/nea/ledger/NpcDetection.kt4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/NpcDetection.kt b/src/main/kotlin/moe/nea/ledger/NpcDetection.kt
index 8f20bc4..656f1d6 100644
--- a/src/main/kotlin/moe/nea/ledger/NpcDetection.kt
+++ b/src/main/kotlin/moe/nea/ledger/NpcDetection.kt
@@ -10,10 +10,6 @@ class NpcDetection(val ledger: LedgerLogger, val ids: ItemIdProvider) {
val npcSellPattern =
Pattern.compile("You sold (?<what>.*) x(?<count>$SHORT_NUMBER_PATTERN) for (?<coins>$SHORT_NUMBER_PATTERN) Coins!")
- // You bought Cactus x32 for 465.6 Coins!
- // You sold Cactus x1 for 3 Coins!
-
-
@SubscribeEvent
fun onNpcBuy(event: ChatReceived) {
npcBuyPattern.useMatcher(event.message) {