Windfuryweapo 0 Share Posted March 10, 2020 Im trying to get my bot to bank when it has an X amount of an item in the inventory but i cant see to find the command, anyone knows? public class Bank extends AbstractTask { @Override public boolean accept() { return config.isScriptRunning() && ????????????; } Link to comment Share on other sites More sharing options...
Zawy 838 Share Posted March 10, 2020 getInventory.count Link to comment Share on other sites More sharing options...
Windfuryweapo 0 Author Share Posted March 10, 2020 Can you please explian a little more, im really really noob at this, trying to learn. return config.isScriptRunning() && getInventory.count(); where should I type the amount of the item and the item itself? im really lost Link to comment Share on other sites More sharing options...
Zawy 838 Share Posted March 10, 2020 getInventory().count(Item) > int I suggest learning the basics of Java Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now