Skip to content

Commit

Permalink
Merge pull request #392 from chsami/development
Browse files Browse the repository at this point in the history
1.4.9
  • Loading branch information
chsami authored Sep 25, 2024
2 parents cf9a732 + 444486e commit 5b7b816
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "1.4.8"
automatic_release_tag: "1.4.9"
prerelease: false
title: "Release 1.4.8"
title: "Release 1.4.9"
files: |
/home/runner/work/microbot/microbot/runelite-client/target/microbot-*.jar
Expand Down
2 changes: 1 addition & 1 deletion runelite-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<git.commit.id.abbrev>nogit</git.commit.id.abbrev>
<git.dirty>false</git.dirty>
<shade.skip>false</shade.skip>
<microbot.version>1.4.8</microbot.version>
<microbot.version>1.4.9</microbot.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ private void onMenuOptionClicked(MenuOptionClicked event) {
}
}

if ("Track".equals(event.getMenuOption())) {
event.consume();
}

if ((config.resumeFletchingKindling() || config.resumeFeedingBrazier()) && isInWintertodtRegion()) {
if (event.getMenuOption().contains("Fletch") && event.getMenuTarget().isEmpty() && config.resumeFletchingKindling()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import net.runelite.client.plugins.microbot.util.combat.Rs2Combat;
import net.runelite.client.plugins.microbot.util.equipment.Rs2Equipment;
import net.runelite.client.plugins.microbot.util.gameobject.Rs2GameObject;
import net.runelite.client.plugins.microbot.util.grounditem.Rs2GroundItem;
import net.runelite.client.plugins.microbot.util.inventory.Rs2Inventory;
import net.runelite.client.plugins.microbot.util.inventory.Rs2Item;
import net.runelite.client.plugins.microbot.util.magic.Rs2Magic;
Expand Down Expand Up @@ -256,8 +255,8 @@ private static void takeUnchargedCells() {
}

private static boolean lootChisel() {
if (!Rs2Inventory.hasItem("chisel")) {
Rs2GroundItem.loot("chisel", 20);
if (!Rs2Inventory.hasItem("Chisel")) {
Rs2GameObject.interact("chisel", "take");
Rs2Player.waitForWalking();
log("Looking for chisel...");
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1669,12 +1669,6 @@ public static void scrollBankToSlot(int slotId) {
Microbot.getClient().runScript(ScriptID.UPDATE_SCROLLBAR, ComponentID.BANK_SCROLLBAR, BANK_ITEM_CONTAINER, scrollY);
});
w.setScrollY(scrollY);
Microbot.getClient().setVarcIntValue(VarClientInt.BANK_SCROLL, scrollY);
Microbot.getClientThread().invokeLater(() ->
Microbot.getClient().runScript(ScriptID.UPDATE_SCROLLBAR,
ComponentID.BANK_SCROLLBAR,
BANK_ITEM_CONTAINER,
scrollY));
}
}

Expand Down

0 comments on commit 5b7b816

Please sign in to comment.