Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static boolean atMine() {
- List<GameObject> rocks = ctx.getGameObjects().all("Rocks");
- if(rocks != null) {
- for (GameObject r : rocks) {
- int id = r.getID();
- for (Integer i : oreObjectIds) {
- if (i == id) {
- return true;
- }
- }
- }
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment