package parachute.scripts.pwoodcutter.strategies;

import org.parabot.environment.api.utils.Time;
import org.parabot.environment.scripts.framework.Strategy;
import org.rev317.min.api.methods.Inventory;
import org.rev317.min.api.methods.Players;
import org.rev317.min.api.methods.Walking;
import org.rev317.min.api.wrappers.Tile;

import parachute.scripts.pwoodcutter.main.Boot;
import parachute.scripts.pwoodcutter.main.Data;

public class RunEvent implements Strategy {

	@Override
	public boolean activate() {
		return Data.Method == "Banking" && !Data.bankRegionDraynor.isInRegion() && Data.chosenRegion.isInRegion() && Inventory.isFull();
	}

	@Override
	public void execute() {
		Walking.walkTo(Players.getMyPlayer().getLocation(), Data.chosenTile);
		Time.sleep(500);
		while(Players.getMyPlayer().getAnimation() != -1){
			Time.sleep(100);
		}
	}

}

@@ -272,23 +272,119 @@
 methods.
-Walking
+SceneObjects;%0Aimport org.rev317.min.api.methods.Walking;%0Aimport org.rev317.min.api.wrappers.SceneObject
 ;%0Aimport
@@ -559,16 +559,39 @@
 rategy %7B
+%0A%09SceneObject%5B%5D chosen;
 %0A%0A%09@Over
@@ -630,15 +630,12 @@
 %7B%0A%09%09
-return 
+if (
 Data
@@ -664,17 +664,23 @@
 & !Data.
-b
+chosenB
 ankRegio
@@ -684,32 +684,162 @@
 gion
-Draynor.isInRegion() && 
+.isInRegion()%0A%09%09%09%09&& Data.chosenRegion.isInRegion() && Inventory.isFull()) %7B%0A%09%09%09return true;%0A%09%09%7D%0A%09%09chosen = SceneObjects.getNearest(Data.idchosen);%0A%09%09if (
 Data
@@ -860,32 +860,33 @@
 isInRegion() && 
+!
 Inventory.isFull
@@ -887,16 +887,80 @@
 isFull()
+%0A%09%09%09%09&& chosen.length == 0) %7B%0A%09%09%09return true;%0A%09%09%7D%0A%09%09return false
 ;%0A%09%7D%0A%0A%09@
@@ -993,16 +993,45 @@
 ute() %7B%0A
+%09%09if (Inventory.isFull()) %7B%0A%09
 %09%09Walkin
@@ -1096,16 +1096,17 @@
 ile);%0A%09%09
+%09
 Time.sle
@@ -1118,15 +1118,134 @@
 0);%0A
+%09%09%7D%0A%09%09if (!Inventory.isFull()) %7B%0A%09%09%09Walking.walkTo(Players.getMyPlayer().getLocation(),%0A%09%09%09%09%09Data.TileSeersYews);%0A%09%09%7D%0A
 %09%09while
+ 
 (Pla
@@ -1284,16 +1284,17 @@
 ) != -1)
+ 
 %7B%0A%09%09%09Tim

Update RunEvent.java