- Thread Author
- #1
GroundItem fish = GroundItems.newQuery().names("Tuna").actions("Take").results().nearest();
fish.click();
When ever I run this code it returns with a null pointer even if there is tuna on the ground? What am I missing?
update: i took away the action() and it worked?
fish.click();
When ever I run this code it returns with a null pointer even if there is tuna on the ground? What am I missing?
update: i took away the action() and it worked?
Last edited: