I want it to withdraw food from this array
public static String[] food = { "Shrimp","Trout","Salmon","Tuna","Lobster","Swordfish","Monkfish","Shark" };
im calling it this way and (may not be the best way but is an example)
if (s.bank.isOpen()){
//do banking
if (!s.inventory.contains(food)){
if (s.getBank().contains(food)){
s.bank.withdrawAll(food);
}
}
}
and i get this error
i tried fixing it with intelj but this does not work