Welcome!

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

Sign up now!

Bug Client not chopping tree after update

Joined
Apr 18, 2016
Messages
6
seems like interact isnt working no more was working fine before this update

GameObject tree = GameObjects.newQuery().names("Yew").within(yewCord).results().nearest()

if (tree.interact("Chop down")) {
Execution.delayUntil(() -> Players.getLocal().getAnimationId() != -1, 5000);

}
 
Joined
Apr 18, 2016
Messages
6
Well actually not really a fix but i tried
GameObjects.getLoaded("Yew").nearest()

and it worked. So that means i gatta find a new way to do this in the yewcord any sugges?
 
Client Developer
Joined
Oct 12, 2015
Messages
3,760
Well actually not really a fix but i tried
GameObjects.getLoaded("Yew").nearest()

and it worked. So that means i gatta find a new way to do this in the yewcord any sugges?

Create an area and search for trees within that area. Though I'm not sure why it would need to be on a specific coordinate?
 
Top