From 108312efa07a8b317a7e4506e7c9b8c988bbe60d Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Sun, 11 Aug 2024 06:46:49 +1000 Subject: meta: give internal names to pets in the pet xp share screen (#1306) --- .../io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java index 9a2fb1fd..58d0eba6 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java @@ -199,6 +199,9 @@ public class ItemResolutionQuery { if (guiName.equals("Catacombs RNG Meter")) { return resolveItemInCatacombsRngMeter(); } + if (guiName.startsWith("Choose Pet")) { + return findInternalNameByDisplayName(displayName, false); + } return null; } -- cgit