aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt
index 95811ed..0b81ccf 100644
--- a/mod/src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt
+++ b/mod/src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt
@@ -21,6 +21,7 @@ class ForgeDetection {
val slot = event.slotIn ?: return
val clickedItem = slot.stack ?: return
if (clickedItem.displayName.unformattedString() != "Confirm") return
+ if (clickedItem.itemDamage == 14) return
val furnaceSlotName = slot.inventory.getStackInSlot(furnaceSlot)?.displayName?.unformattedString() ?: return
if (!furnaceName.matches(furnaceSlotName))
return