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 Boot.Method == "Banking" && !Data.bankRegionDraynor.isInRegion() && Inventory.isFull();
	}

	@Override
	public void execute() {
		Walking.walkTo(Players.getMyPlayer().getLocation(), new Tile(3093, 3243));
		Time.sleep(300);
		while(Players.getMyPlayer().getAnimation() != -1){
			Time.sleep(100);
		}
	}

}

@@ -514,20 +514,20 @@
 %09return 
-Boot
+Data
 .Method 
@@ -581,16 +581,50 @@
 ion() &&
+ Data.chosenRegion.isInRegion() &&
  Invento
@@ -734,28 +734,23 @@
 (), 
-new Tile(3093, 3243)
+Data.chosenTile
 );%0A%09
@@ -761,17 +761,17 @@
 e.sleep(
-3
+5
 00);%0A%09%09w

Update RunEvent.java