From b952ee597f1f05e3356bf56d9edb404ebda4965d Mon Sep 17 00:00:00 2001 From: iProdigy <8106344+iProdigy@users.noreply.github.com> Date: Wed, 30 Oct 2024 17:12:55 -0700 Subject: [PATCH] fix: include rarity of tooth moon key half --- src/test/java/dinkplugin/RarityCalculator.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/java/dinkplugin/RarityCalculator.java b/src/test/java/dinkplugin/RarityCalculator.java index 1317022f..312c11c8 100644 --- a/src/test/java/dinkplugin/RarityCalculator.java +++ b/src/test/java/dinkplugin/RarityCalculator.java @@ -106,6 +106,10 @@ public Transformed transform() { this.itemId = -1; this.quantity = "0"; } + if ("Tooth half of key (moon key)".equalsIgnoreCase(name)) { + // Workaround for https://discord.com/channels/790429747364626452/954397870889529385/1294355009798017044 + this.itemId = 30105; + } if (itemId == null || rarity == null || quantity == null) return null; if (rarity.equals("Always") || rarity.equals("Varies") || rarity.equals("Random") || rarity.equals("Once") || rarity.equals("Unknown")) return null; if (quantity.equals("Unknown") || quantity.equals("N/A")) return null;