Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Clicking Players instead of NPCS

Joined
Oct 18, 2015
Messages
25
It's definitely NOT just a missclick because the bot will continue to target the player multiple times before moving on to the actual target npc

Code:
Npc npcm = Npcs.newQuery().names("Minotaur").results().nearestTo(Players.getLocal());

Code:
if (npcm.getLevel() < 30) {
if (npcm.interact("Attack")) {
Execution.delayUntil(() -> npcm.getTarget() != null, 400, 1300);
}
}

Anyone have a suggestion on how i can stop it doing this, even tried checking that the level was below 30 but its trying to attack any player, even those over 30
 
Top