vasterasjonte 0 Share 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 Link to comment Share on other sites More sharing options...
Hmm 31 Share Posted November 19, 2020 Show full code please. Link to comment Share on other sites More sharing options...
vasterasjonte 0 Author Share 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); } Link to comment Share on other sites More sharing options...
Pseudo 179 Share 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.