TheGreatests Posted June 9, 2016 Share Posted June 9, 2016 public boolean canProcess() { return api.getInventory().isFull(); } public boolean canfix(){ return api.getObjects().);// if a object is on a screen == true, how do I do that? } @Override public void process() { api.getInventory().dropAll(); } } How do i get a boolean to check on screen if a entity is there? 1 Quote Link to comment Share on other sites More sharing options...
Chris Posted June 9, 2016 Share Posted June 9, 2016 public boolean canProcess() { return api.getInventory().isFull(); } public boolean canfix(){ return api.getObjects().closest("") != null && api.getObjects().closest("").isVisible();// if a object is on a screen == true, how do I do that? } @Override public void process() { api.getInventory().dropAll(); } 1 Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted June 9, 2016 Author Share Posted June 9, 2016 fuck my life dude, I dont know how the fuck I kept slipping on this one 1 Quote Link to comment Share on other sites More sharing options...