aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java2
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 {