nikotiinipers 0 Share Posted December 20, 2022 I'm using interact() to loot ground items and when the client right clicks on the pile it instantly knows what option to select after. It works great but seems very inhuman that someone could do this numerous times in a row without making a flaw. Is there a way to add sleeping time after the interact() right click? Link to comment Share on other sites More sharing options...
camelCase 231 Share Posted December 21, 2022 GroundItem loot = GroundItems.get("speeeeep"); if (loot != null && loot.interact()) { Sleep.sleepUntil(() -> !loot.exists(), 2400); return 600; } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now