From 9d1b0e3e543bb0d6c96966ff3bd78184c09578a8 Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 09:35:18 +0100 Subject: [PATCH 01/13] Add CERB AOE Add CERB AOE --- runelite-api/src/main/java/net/runelite/api/ProjectileID.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runelite-api/src/main/java/net/runelite/api/ProjectileID.java b/runelite-api/src/main/java/net/runelite/api/ProjectileID.java index d99a7b2aaa..06cab49768 100644 --- a/runelite-api/src/main/java/net/runelite/api/ProjectileID.java +++ b/runelite-api/src/main/java/net/runelite/api/ProjectileID.java @@ -77,6 +77,7 @@ public class ProjectileID public static final int DEMONIC_GORILLA_BOULDER = 856; public static final int XARPUS_ACID = 1555; + public static final int CERB_FIRE = 1247; /** * missing: marble gargoyle, superior dark beast @@ -97,5 +98,5 @@ public class ProjectileID public static final int HYDRA_POISON = 1644; public static final int HYDRA_LIGHTNING = 1664; public static final int HYDRA_LIGHTNING_2 = 1665; - public static final int DRAKE_BREATH = 1637; + public static final int DRAKE_BREATH = 1637; } From 095433fc277c6df608f230e7c8982220c6cce357 Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 09:38:12 +0100 Subject: [PATCH 02/13] Update AoeProjectileInfo.java --- .../plugins/aoewarnings/AoeProjectileInfo.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeProjectileInfo.java b/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeProjectileInfo.java index b7111848a2..0ae9ebad76 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeProjectileInfo.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeProjectileInfo.java @@ -107,11 +107,15 @@ public enum AoeProjectileInfo */ ADDY_DRAG_POISON(ProjectileID.ADDY_DRAG_POISON, 1), - /** - * the Breath of the Drake - */ - + /** + * the Breath of the Drake + */ DRAKE_BREATH(ProjectileID.DRAKE_BREATH, 1); + + /** + * Cerbs fire + */ + CERB_FIRE(ProjectileID.CERB_FIRE, 2); private static final Map map = new HashMap<>(); From 7b22776dd04e0a17965284975232bfc53666b404 Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 09:39:29 +0100 Subject: [PATCH 03/13] Update AoeWarningConfig.java --- .../plugins/aoewarnings/AoeWarningConfig.java | 27 +++++++++++++------ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeWarningConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeWarningConfig.java index 42e7b5efc8..3475d9f7b9 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeWarningConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeWarningConfig.java @@ -253,14 +253,25 @@ public interface AoeWarningConfig extends Config return true; } - @ConfigItem( - keyName = "drake", - name = "Drakes Breath", - description = "Configures if Drakes Breath tile markers are displayed" - ) - default boolean isDrakeEnabled() { - return true; - } + @ConfigItem( + keyName = "drake", + name = "Drakes Breath", + description = "Configures if Drakes Breath tile markers are displayed" + ) + default boolean isDrakeEnabled() + { + return true; + } + + @ConfigItem( + keyName = "cerbFire", + name = "Cerberus Fire", + description = "Configures if Cerberus fire tile markers are displayed" + ) + default boolean isCerbFireEnabled() + { + return true; + } @ConfigItem( keyName = "delay", From 9ced979bf864355fbc079430145cc457f8afa9ce Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 09:40:13 +0100 Subject: [PATCH 04/13] Update AoeWarningPlugin.java --- .../client/plugins/aoewarnings/AoeWarningPlugin.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeWarningPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeWarningPlugin.java index feaa5f27f6..9971635bb4 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeWarningPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeWarningPlugin.java @@ -300,8 +300,10 @@ public class AoeWarningPlugin extends Plugin return config.isXarpusEnabled(); case ADDY_DRAG_POISON: return config.addyDrags(); - case DRAKE_BREATH: - return config.isDrakeEnabled(); + case DRAKE_BREATH: + return config.isDrakeEnabled(); + case CERB_FIRE: + return config.isCerbFireEnabled(); } return false; From a17d3b443be8ac3b060edac8d5c35caeaeb8bcee Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 09:42:08 +0100 Subject: [PATCH 05/13] Update XpGlobesConfig.java --- .../plugins/xpglobes/XpGlobesConfig.java | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/xpglobes/XpGlobesConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/xpglobes/XpGlobesConfig.java index eab7c91c30..cc88234686 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/xpglobes/XpGlobesConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/xpglobes/XpGlobesConfig.java @@ -55,11 +55,22 @@ public interface XpGlobesConfig extends Config return false; } + @ConfigItem( + keyName = "Time to level", + name = "Display TTL", + description = "Displays time left to level", + position = 2 + ) + default boolean enableTimeToLevel() + { + return true; + } + @ConfigItem( keyName = "enableCustomArcColor", name = "Enable custom arc color", description = "Enables the custom coloring of the globe's arc instead of using the skill's default color.", - position = 2 + position = 3 ) default boolean enableCustomArcColor() { @@ -71,7 +82,7 @@ public interface XpGlobesConfig extends Config keyName = "Progress arc color", name = "Progress arc color", description = "Change the color of the progress arc in the xp orb", - position = 3 + position = 4 ) default Color progressArcColor() { @@ -83,7 +94,7 @@ public interface XpGlobesConfig extends Config keyName = "Progress orb outline color", name = "Progress orb outline color", description = "Change the color of the progress orb outline", - position = 4 + position = 5 ) default Color progressOrbOutLineColor() { @@ -95,7 +106,7 @@ public interface XpGlobesConfig extends Config keyName = "Progress orb background color", name = "Progress orb background color", description = "Change the color of the progress orb background", - position = 5 + position = 6 ) default Color progressOrbBackgroundColor() { @@ -106,7 +117,7 @@ public interface XpGlobesConfig extends Config keyName = "Progress arc width", name = "Progress arc width", description = "Change the stroke width of the progress arc", - position = 6 + position = 7 ) default int progressArcStrokeWidth() { @@ -117,7 +128,7 @@ public interface XpGlobesConfig extends Config keyName = "Orb size", name = "Size of orbs", description = "Change the size of the xp orbs", - position = 7 + position = 8 ) default int xpOrbSize() { @@ -128,7 +139,7 @@ public interface XpGlobesConfig extends Config keyName = "Orb duration", name = "Duration of orbs", description = "Change the duration the xp orbs are visible", - position = 8 + position = 9 ) default int xpOrbDuration() { From 53ab28c667694a98de83127e4b6aba201fbfb02a Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 09:44:06 +0100 Subject: [PATCH 06/13] Update XpGlobesOverlay.java --- .../client/plugins/xpglobes/XpGlobesOverlay.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/xpglobes/XpGlobesOverlay.java b/runelite-client/src/main/java/net/runelite/client/plugins/xpglobes/XpGlobesOverlay.java index 81171840e1..168476b376 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/xpglobes/XpGlobesOverlay.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/xpglobes/XpGlobesOverlay.java @@ -293,12 +293,15 @@ public class XpGlobesOverlay extends Overlay .build()); } - String timeLeft = xpTrackerService.getTimeTillGoal(mouseOverSkill.getSkill()); - xpTooltip.getChildren().add(LineComponent.builder() - .left("Time left:") - .leftColor(Color.ORANGE) - .right(timeLeft) - .build()); + if (config.enableTimeToLevel()) + { + String timeLeft = xpTrackerService.getTimeTillGoal(mouseOverSkill.getSkill()); + xpTooltip.getChildren().add(LineComponent.builder() + .left("Time left:") + .leftColor(Color.ORANGE) + .right(timeLeft) + .build()); + } } xpTooltip.render(graphics); From ba68695513aae9cc76310daad8735b7c139e7351 Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 09:47:44 +0100 Subject: [PATCH 07/13] Update ChatCommandsPlugin.java --- .../chatcommands/ChatCommandsPlugin.java | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java index 388ebb300a..44ff821be8 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java @@ -70,6 +70,8 @@ import net.runelite.http.api.hiscore.HiscoreSkill; import net.runelite.http.api.hiscore.SingleHiscoreSkillResult; import net.runelite.http.api.hiscore.Skill; import net.runelite.http.api.item.ItemPrice; +import net.runelite.http.api.osbuddy.OSBGrandExchangeClient; +import net.runelite.http.api.osbuddy.OSBGrandExchangeResult; import org.apache.commons.text.WordUtils; @PluginDescriptor( @@ -98,6 +100,7 @@ public class ChatCommandsPlugin extends Plugin private final HiscoreClient hiscoreClient = new HiscoreClient(); private final ChatClient chatClient = new ChatClient(); + private final OSBGrandExchangeClient CLIENT = new OSBGrandExchangeClient(); private boolean logKills; private HiscoreEndpoint hiscoreEndpoint; // hiscore endpoint for current player @@ -597,19 +600,31 @@ public class ChatCommandsPlugin extends Plugin if (!results.isEmpty()) { ItemPrice item = retrieveFromList(results, search); + OSBGrandExchangeResult osbresult = new OSBGrandExchangeResult(); + try + { + osbresult = CLIENT.lookupItem(item.getId()); + } + catch (IOException e) + { + e.printStackTrace(); + } int itemId = item.getId(); int itemPrice = item.getPrice(); - final ChatMessageBuilder builder = new ChatMessageBuilder() - .append(ChatColorType.NORMAL) - .append("Price of ") - .append(ChatColorType.HIGHLIGHT) - .append(item.getName()) - .append(ChatColorType.NORMAL) - .append(": GE average ") - .append(ChatColorType.HIGHLIGHT) - .append(StackFormatter.formatNumber(itemPrice)); + final ChatMessageBuilder builder = new ChatMessageBuilder(); + builder.append(ChatColorType.NORMAL); + builder.append(ChatColorType.HIGHLIGHT); + builder.append(item.getName()); + builder.append(ChatColorType.NORMAL); + builder.append(": GE "); + builder.append(ChatColorType.HIGHLIGHT); + builder.append(StackFormatter.formatNumber(itemPrice)); + builder.append(ChatColorType.NORMAL); + builder.append(": OSB "); + builder.append(ChatColorType.HIGHLIGHT); + builder.append(StackFormatter.formatNumber(osbresult.getOverall_average())); ItemComposition itemComposition = itemManager.getItemComposition(itemId); if (itemComposition != null) From 55edaebf6bfa7843295046a2c12356aad855665d Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 09:50:08 +0100 Subject: [PATCH 08/13] Update ExaminePlugin.java --- .../client/plugins/examine/ExaminePlugin.java | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java index 1f78bddb9f..217ee55c91 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java @@ -54,6 +54,8 @@ import net.runelite.client.plugins.Plugin; import net.runelite.client.plugins.PluginDescriptor; import net.runelite.client.util.StackFormatter; import net.runelite.http.api.examine.ExamineClient; +import net.runelite.http.api.osbuddy.OSBGrandExchangeClient; +import net.runelite.http.api.osbuddy.OSBGrandExchangeResult; /** * Submits examine info to the api @@ -72,6 +74,7 @@ public class ExaminePlugin extends Plugin private static final Pattern X_PATTERN = Pattern.compile("^\\d+ x "); private final Deque pending = new ArrayDeque<>(); + private final OSBGrandExchangeClient CLIENT = new OSBGrandExchangeClient(); private final Cache cache = CacheBuilder.newBuilder() .maximumSize(128L) .build(); @@ -342,11 +345,25 @@ public class ExaminePlugin extends Plugin if (gePrice > 0) { + OSBGrandExchangeResult osbresult = new OSBGrandExchangeResult(); + try + { + osbresult = CLIENT.lookupItem(itemComposition.getId()); + } + catch (IOException e) + { + e.printStackTrace(); + } message .append(ChatColorType.NORMAL) - .append(" GE average ") + .append(" GE ") .append(ChatColorType.HIGHLIGHT) .append(StackFormatter.formatNumber(gePrice * quantity)); + .append(ChatColorType.NORMAL) + .append(" OSB ") + .append(ChatColorType.HIGHLIGHT) + .append(StackFormatter.formatNumber(gePrice * quantity)); + .append(StackFormatter.formatNumber(osbresult.getOverall_average() * quantity)); if (quantity > 1) { From 176c37726d15925f85d219723cf3bc0d491b877e Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 09:51:39 +0100 Subject: [PATCH 09/13] Update LootTrackerConfig.java --- .../plugins/loottracker/LootTrackerConfig.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerConfig.java index bba5994d89..c2f355d7f9 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerConfig.java @@ -59,6 +59,16 @@ public interface LootTrackerConfig extends Config return true; } + @ConfigItem( + keyName = "chestLootChat", + name = "Show chest loot value in chat", + description = "Show the value of items from CoX/ToB/Barrows chests in chat" + ) + default boolean chestLootChat() + { + return true; + } + @ConfigItem( keyName = "syncPanel", name = "Synchronize panel contents", @@ -70,4 +80,4 @@ public interface LootTrackerConfig extends Config { return true; } -} \ No newline at end of file +} From 2858687e7b4fb7c3ddd3ea11e5b94b05fe513fa4 Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 09:54:33 +0100 Subject: [PATCH 10/13] Update LootTrackerPlugin.java --- .../loottracker/LootTrackerPlugin.java | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerPlugin.java index 5429ec5941..f561a87a25 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerPlugin.java @@ -51,6 +51,7 @@ import lombok.Getter; import lombok.extern.slf4j.Slf4j; import net.runelite.api.ChatMessageType; import net.runelite.api.Client; +import net.runelite.api.Item; import net.runelite.api.InventoryID; import net.runelite.api.ItemComposition; import net.runelite.api.ItemContainer; @@ -66,6 +67,10 @@ import net.runelite.api.widgets.WidgetID; import net.runelite.client.account.AccountSession; import net.runelite.client.account.SessionManager; import net.runelite.client.callback.ClientThread; +import net.runelite.client.chat.ChatColorType; +import net.runelite.client.chat.ChatMessageBuilder; +import net.runelite.client.chat.ChatMessageManager; +import net.runelite.client.chat.QueuedMessage; import net.runelite.client.config.ConfigManager; import net.runelite.client.eventbus.Subscribe; import net.runelite.client.events.NpcLootReceived; @@ -80,6 +85,7 @@ import net.runelite.client.plugins.PluginDescriptor; import net.runelite.client.ui.ClientToolbar; import net.runelite.client.ui.NavigationButton; import net.runelite.client.util.ImageUtil; +import net.runelite.client.util.StackFormatter; import net.runelite.client.util.Text; import net.runelite.http.api.loottracker.GameItem; import net.runelite.http.api.loottracker.LootRecord; @@ -115,6 +121,9 @@ public class LootTrackerPlugin extends Plugin @Inject private ItemManager itemManager; + + @Inject + private ChatMessageManager chatMessageManager; @Inject private SpriteManager spriteManager; @@ -352,6 +361,29 @@ public class LootTrackerPlugin extends Plugin return; } + if (!(event.getGroupId() == WidgetID.CLUE_SCROLL_REWARD_GROUP_ID) && config.chestLootChat()) + { + Item[] items = container.getItems(); + long chestPrice = 0; + for (Item item : items) + { + long itemStack = (long) itemManager.getItemPrice(item.getId()) * (long) item.getQuantity(); + chestPrice += itemStack; + } + + final ChatMessageBuilder message = new ChatMessageBuilder() + .append(ChatColorType.HIGHLIGHT) + .append("Your loot is worth around ") + .append(StackFormatter.formatNumber(chestPrice)) + .append(" coins.") + .append(ChatColorType.NORMAL); + + chatMessageManager.queue(QueuedMessage.builder() + .type(ChatMessageType.ITEM_EXAMINE) + .runeLiteFormattedMessage(message.build()) + .build()); + } + // Convert container items to array of ItemStack final Collection items = Arrays.stream(container.getItems()) .filter(item -> item.getId() > 0) From 0671aaf4f72a37e319ea945c6ebe440b89436f76 Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 10:03:51 +0100 Subject: [PATCH 11/13] Update AoeProjectileInfo.java --- .../runelite/client/plugins/aoewarnings/AoeProjectileInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeProjectileInfo.java b/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeProjectileInfo.java index 0ae9ebad76..1fb9a72b29 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeProjectileInfo.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/aoewarnings/AoeProjectileInfo.java @@ -110,7 +110,7 @@ public enum AoeProjectileInfo /** * the Breath of the Drake */ - DRAKE_BREATH(ProjectileID.DRAKE_BREATH, 1); + DRAKE_BREATH(ProjectileID.DRAKE_BREATH, 1), /** * Cerbs fire From 4c1c604f66c451cf02118f3ad188e6b6d743d871 Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 10:05:18 +0100 Subject: [PATCH 12/13] Update ExaminePlugin.java --- .../net/runelite/client/plugins/examine/ExaminePlugin.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java index 217ee55c91..5c672ccf8e 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java @@ -358,11 +358,10 @@ public class ExaminePlugin extends Plugin .append(ChatColorType.NORMAL) .append(" GE ") .append(ChatColorType.HIGHLIGHT) - .append(StackFormatter.formatNumber(gePrice * quantity)); + .append(StackFormatter.formatNumber(gePrice * quantity)) .append(ChatColorType.NORMAL) .append(" OSB ") .append(ChatColorType.HIGHLIGHT) - .append(StackFormatter.formatNumber(gePrice * quantity)); .append(StackFormatter.formatNumber(osbresult.getOverall_average() * quantity)); if (quantity > 1) From 9938304703afa102a5f7b24ff053863017ba37f2 Mon Sep 17 00:00:00 2001 From: Kyleeld <48519776+Kyleeld@users.noreply.github.com> Date: Wed, 8 May 2019 10:11:49 +0100 Subject: [PATCH 13/13] Update ExaminePlugin.java --- .../net/runelite/client/plugins/examine/ExaminePlugin.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java index 5c672ccf8e..936d814725 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/examine/ExaminePlugin.java @@ -26,6 +26,7 @@ package net.runelite.client.plugins.examine; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; +import java.io.IOException; import java.time.Instant; import java.util.ArrayDeque; import java.util.Deque; @@ -356,11 +357,11 @@ public class ExaminePlugin extends Plugin } message .append(ChatColorType.NORMAL) - .append(" GE ") + .append(" GE ") .append(ChatColorType.HIGHLIGHT) .append(StackFormatter.formatNumber(gePrice * quantity)) .append(ChatColorType.NORMAL) - .append(" OSB ") + .append(" OSB ") .append(ChatColorType.HIGHLIGHT) .append(StackFormatter.formatNumber(osbresult.getOverall_average() * quantity));