Hi, I tried converting one of my scripts from a different api onto runemate api and when I try to run the script I get this error
java.lang.NullPointerException
at com.itzDot.bots.AdvWineGrabber.tasks.WalkToLocation.execute(WalkToLocation.java:22)
at...
how do you guys check if local player is within a area
i've tried
gV.getLOCATION_AREA().contains(players.getLocal().getPosition());
but the localplayer returns static position. is there another way to get the same results since im new to the api