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 940 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 940 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
Archived
This topic is now archived and is closed to further replies.