Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public int onLoop() {
- if(getInventory().isFull) {
- if(cuttingArea.contains(getLocalPlayer())) {
- if(isCutting) {
- return Calculations.random(500,1000);
- } else {
- cutTree();
- }
- } else {
- goToCuttingArea();
- }
- } else {
- bank();
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement