diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2023-10-17 19:06:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 10:06:24 +0200 |
commit | 5ad2c41fb936fbb9927aa0b73c73f93f9fd1c3a0 (patch) | |
tree | 4a7bde1575f659e2ba0f3f2bb92c0cd270bd7e95 | |
parent | a1e17a7249ea01cc34d1ad096c64b7c9edd6dacc (diff) | |
download | NotEnoughUpdates-5ad2c41fb936fbb9927aa0b73c73f93f9fd1c3a0.tar.gz NotEnoughUpdates-5ad2c41fb936fbb9927aa0b73c73f93f9fd1c3a0.tar.bz2 NotEnoughUpdates-5ad2c41fb936fbb9927aa0b73c73f93f9fd1c3a0.zip |
Fix ah keybind with pets (#880)
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java index 6e3a2570..54d85fc3 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java @@ -1212,7 +1212,7 @@ public class NEUOverlay extends Gui { NotEnoughUpdates.INSTANCE.openGui = new GuiPriceGraph(internalname.get()); return true; } else if (keyPressed == NotEnoughUpdates.INSTANCE.config.misc.openAHKeybind) { - String cleanName = Utils.cleanColour(item.get("displayname").getAsString()); + String cleanName = Utils.cleanColour(item.get("displayname").getAsString()).replace("[Lvl {LVL}]", "").trim(); if (NotEnoughUpdates.INSTANCE.manager.auctionManager.getBazaarInfo(internalname.get()) == null) { NotEnoughUpdates.INSTANCE.trySendCommand("/ahs " + cleanName); } else { |