Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package osbotOS;
- import org.osbot.rs07.script.Script;
- public class SubActivityInBankGetFood extends ActivityInBank {
- public SubActivityInBankGetFood(Script script) {
- super(script);
- // TODO Auto-generated constructor stub
- }
- @Override
- public void execute() {
- int[] items = { this.foodID };
- int[] amounts = { 2 };
- this.bankMethods.withdrawItemsAmounts(this.script, items, amounts,
- this.c.BANK_ID, this.c.BANK_OPTION);
- this.needToWithdrawFood = false;
- }
- @Override
- public boolean validate() {
- return this.needToWithdrawFood;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement