diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotConfig.java index 5d26420889..aef1ea6b4c 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotConfig.java @@ -157,7 +157,7 @@ public interface ScreenshotConfig extends Config @ConfigItem( keyName = "valuableDrop", name = "Screenshot Valuable drops", - description = "Configures whether or not screenshots are automatically taken when you receive a valuable/untradeable drop.", + description = "Configures whether or not screenshots are automatically taken when you receive a valuable drop.", position = 11 ) default boolean screenshotValuableDrop() @@ -165,11 +165,22 @@ public interface ScreenshotConfig extends Config return false; } + @ConfigItem( + keyName = "untradeableDrop", + name = "Screenshot Untradeable drops", + description = "Configures whether or not screenshots are automatically taken when you receive an untradeable drop.", + position = 12 + ) + default boolean screenshotUntradeableDrop() + { + return false; + } + @ConfigItem( keyName = "hotkey", name = "Screenshot hotkey", description = "When you press this key a screenshot will be taken", - position = 12 + position = 13 ) default Keybind hotkey() { diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java index 8632840831..6d53b1c366 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java @@ -121,7 +121,8 @@ public class ScreenshotPlugin extends Plugin private static final Pattern NUMBER_PATTERN = Pattern.compile("([0-9]+)"); private static final Pattern LEVEL_UP_PATTERN = Pattern.compile(".*Your ([a-zA-Z]+) (?:level is|are)? now (\\d+)\\."); private static final Pattern BOSSKILL_MESSAGE_PATTERN = Pattern.compile("Your (.+) kill count is: