Bitshift Posted May 28, 2016 Posted May 28, 2016 Basically, as you can tell by the title, I'm getting this error right here: Here is a snippet of this code, although I know it works, but only when this actual area is within a certain distance from the player. Position randomBankArea = new Position(Banks.EDGEVILLE.getRandomPosition()); I understand very clearly what the error is, but what I don't, however, is what exactly is causing this? I've never encountered this problem before, but I know there is definitely a simple reason behind it. Any ideas?
GaetanoH Posted May 28, 2016 Posted May 28, 2016 getRandomPosition could happen to be a position that could not be reached so I guess that's why So just do getWalking().walk(position);
Bitshift Posted May 28, 2016 Author Posted May 28, 2016 (edited) Scratch that. Tested the code with another predefined bank location, and it worked. I guess Banks.EDGEVILLE is currently not working. Edited May 28, 2016 by Bitshift 1