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?