FrostBug Posted September 23, 2015 Share Posted September 23, 2015 (edited) I updated my run() method in a previous post. Here it is again. I am getting a new RS2Object TimerTask task = new TimerTask() { @Override public void run() { int x = rock.getX(); int y = rock.getY(); List<RS2Object> objects = getObjects().get(x, y); for(RS2Object obj : objects) { if(obj.getName().equals("Rocks")) { log("get's here"); rockMap.put("rock", obj); break; } } rockMap.put("mineable", true); } }; Is that "Get's here" being logged to the console? Have you been able to debug the problem at hand? (eg. is the problem related to the Rock instances still, or is the canMine boolean inconsistent?) EDIT: Also be aware that if "interacted" is false (eg. the interaction misclicked or whatever, and you ended up not mining the rock) you still set "canMine" to false. Since you're not mining, this variable will now be permanently false. Edited September 23, 2015 by FrostBug Quote Link to comment Share on other sites More sharing options...
elemt Posted September 23, 2015 Author Share Posted September 23, 2015 It does get logged and yea I know I'm permanently setting it right now Quote Link to comment Share on other sites More sharing options...