vasterasjonte 0 Posted November 18, 2020 Anyone else have noticed problem to Interact Attack targets? I do this "if (target.interact("Attack")){}" but for some reason it does not interact the target first try. Takes about 3 interacts for it to actually interact
vasterasjonte 0 Author Posted November 19, 2020 11 hours ago, NEWPROG said: Show full code please. GroundItem bones = naxofuntions.getNPCItem(526, target); if (bones.interact("Take")) { sleepUntil(() -> !bones.exists(), 10000); }
Pseudo 179 Posted November 19, 2020 Show the method in question. And what you've posted is pertaining to a ground item not an npc? Or is the problem occurring for both?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.