diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-08-11 06:46:49 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-10 22:46:49 +0200 |
| commit | 108312efa07a8b317a7e4506e7c9b8c988bbe60d (patch) | |
| tree | b4fc706f5c3850665287056800eaa223857df5d0 | |
| parent | bcbc3da475093b481b89ced2ca14c08919f287c9 (diff) | |
| download | notenoughupdates-108312efa07a8b317a7e4506e7c9b8c988bbe60d.tar.gz notenoughupdates-108312efa07a8b317a7e4506e7c9b8c988bbe60d.tar.bz2 notenoughupdates-108312efa07a8b317a7e4506e7c9b8c988bbe60d.zip | |
meta: give internal names to pets in the pet xp share screen (#1306)
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |
