Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* import bot.script.wrappers.GameObject;
- import bot.script.methods.Objects;
- */
- int TREE = 0; //Change this to tree ID.
- int STUMP = 0; //Change this to stump ID.
- public void onlyThisTree() {
- GameObject thisTree = Objects.getObject(1,2); //Change to tile.
- if (thisTree.getId() == STUMP) {
- sleep(500);
- } else {
- thisTree.interact("Chop down");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement