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

Commit c6f81c8

Browse files
ExplvExplv
Explv
authored and
Explv
committed
Fix Tutorial Island fighting section item equipping
1 parent a8e5225 commit c6f81c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/script/TutorialIsland.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.osbot.rs07.script.ScriptManifest;
55
import sections.*;
66

7-
@ScriptManifest(author = "Explv", name = "Explv's Tutorial Island", info = "Completes Tutorial Island", version = 5.5, logo = "")
7+
@ScriptManifest(author = "Explv", name = "Explv's Tutorial Island", info = "Completes Tutorial Island", version = 5.6, logo = "")
88
public final class TutorialIsland extends Script {
99

1010
private final TutorialSection rsGuideSection = new RuneScapeGuideSection();

src/sections/FightingSection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private void attackRat() {
128128
}
129129

130130
private void wieldItem(String name) {
131-
if (getInventory().getItem(name).interact("Wield")) {
131+
if (getInventory().getItem(name).interact("Wield", "Equip")) {
132132
Sleep.sleepUntil(() -> getEquipment().contains(name), 1500);
133133
}
134134
}

0 commit comments

Comments
 (0)