@@ -0,0 +1,1336 @@
+package bomFarming;%0A%0Aimport org.parabot.core.Context;%0Aimport org.parabot.environment.api.utils.Time;%0Aimport org.parabot.environment.scripts.Script;%0Aimport org.parabot.environment.scripts.framework.Strategy;%0Aimport org.rev317.min.api.methods.Game;%0Aimport org.rev317.min.api.methods.Inventory;%0Aimport org.rev317.min.api.methods.SceneObjects;%0Aimport org.rev317.min.api.methods.Items.Option;%0Aimport org.rev317.min.api.methods.Menu;%0Aimport org.rev317.min.api.wrappers.SceneObject;%0A%0Apublic class ClearPatch implements Strategy%7B%0A%0A%09@Override%0A%09public boolean activate() %7B%0A%09%09BomFarming.hasRAKE = Inventory.contains(BomFarming.RAKE) && Game.isLoggedIn();%0A%09%09if (!BomFarming.hasRAKE)%7BContext.getInstance().getRunningScript().setState(Script.STATE_STOPPED);return false;%7D%0A%0A%09%09return BomFarming.hasRAKE && BomFarming.planted;%0A%09%7D%0A%0A%09@Override%0A%09public void execute() %7B%0A%09%09SceneObject patch = null;%0A%09%09try %7B%0A%09%09%09patch = SceneObjects.getNearest(8151)%5B0%5D;%0A%09%09%09%7D%0A%09%09catch(Exception e)%0A%09%09%09%7B%0A%09%09%09%09System.out.println(e);%0A%09%09%09%09Context.getInstance().getRunningScript().setState(Script.STATE_STOPPED);%0A%09%09%09%09return;%0A%09%09%09%7D%0A%0A%09%09Inventory.getItem(BomFarming.RAKE).interact(Option.USE);%0A%09%09Time.sleep(200);%0A%09%09Menu.sendAction(62,patch.getHash(),patch.getLocalRegionX(),patch.getLocalRegionY(),patch.getId(),1);%0A%09%09%0A%09%09Time.sleep(1800);%0A%09%09BomFarming.planted=!BomFarming.planted;%0A%09%7D%0A%0A%7D%0A

Create ClearPatch.java