aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-12-30 22:01:15 +0100
committerLinnea Gräf <nea@nea.moe>2024-12-30 22:01:15 +0100
commit00aadb43fcf8d9557987f60f476a44f4b22a0c45 (patch)
tree5762122614144d247ec6a22126635f35200170d6 /src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt
parent1c0090ec301b87edebc29453287e585f88de2c4f (diff)
downloadLocalTransactionLedger-00aadb43fcf8d9557987f60f476a44f4b22a0c45.tar.gz
LocalTransactionLedger-00aadb43fcf8d9557987f60f476a44f4b22a0c45.tar.bz2
LocalTransactionLedger-00aadb43fcf8d9557987f60f476a44f4b22a0c45.zip
refactor: Add more item ids
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt')
-rw-r--r--src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt b/src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt
index b9f70c4..e389ffb 100644
--- a/src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt
+++ b/src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt
@@ -7,6 +7,7 @@ import moe.nea.ledger.LedgerLogger
import moe.nea.ledger.TransactionType
import moe.nea.ledger.events.ChatReceived
import moe.nea.ledger.events.WorldSwitchEvent
+import moe.nea.ledger.gen.ItemIds
import moe.nea.ledger.useMatcher
import moe.nea.ledger.utils.di.Inject
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
@@ -34,7 +35,7 @@ class DragonEyePlacementDetection {
TransactionType.WYRM_EVOKED,
event.timestamp,
listOf(
- ItemChange.lose(ItemId.SUMMONING_EYE, eyeCount)
+ ItemChange.lose(ItemIds.SUMMONING_EYE, eyeCount)
)
))
eyeCount = 0