Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Commit b2eb193

Browse files
ExplvExplv
authored andcommitted
Fixing woodcutting (removing previous fix for Christmas trees, this does not seem to work)
Update jewellery crafting to click on furnace, instead of using item on furnace
1 parent c2faa04 commit b2eb193

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

AIO/src/org/aio/activities/skills/crafting/CraftingActivity.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ private void makeJewellery() {
114114
} else if (jewelleryWidget.interact(getWidgets(), "Make-All")) {
115115
FINISHED_CRAFTING_SLEEP.sleep();
116116
}
117-
} else if (!craftingItem.itemReqs[1].toString().equals(getInventory().getSelectedItemName())) {
118-
getInventory().getItem(craftingItem.itemReqs[1].toString()).interact("Use");
119-
} else if (getObjects().closest("Furnace").interact("Use")) {
117+
} else if (getObjects().closest("Furnace").interact("Smelt")) {
120118
Sleep.sleepUntil(() -> getWidgets().getWidgetContainingText("What would you like to make?") != null, 5000);
121119
}
122120
}

AIO/src/org/aio/activities/skills/woodcutting/WoodcuttingActivity.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ private boolean inventoryContainsNonWcItem() {
9191
private void chopTree() {
9292
targetTree = getObjects().closest(
9393
new AreaFilter<>(treeLocation.getArea()),
94-
new NameFilter<>(tree.toString()),
95-
i -> i.getDefinition().getModifiedModelColors() != null
94+
new NameFilter<>(tree.toString())
9695
);
9796
if (targetTree != null && targetTree.interact("Chop down")) {
9897
Sleep.sleepUntil(() -> myPlayer().isAnimating() || !targetTree.exists(), 5000);

AIO/src/org/aio/script/AIO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
@ScriptManifest(author = "Explv", name = "Explv's AIO " + AIO.VERSION, info = "AIO", version = 0, logo = "http://i.imgur.com/58Zz0fb.png")
3232
public class AIO extends Script {
3333

34-
static final String VERSION = "v2.4.0";
34+
static final String VERSION = "v2.4.1";
3535

3636
private Gui gui;
3737
private Paint paint;

0 commit comments

Comments
 (0)