Jump to content

list of items not working


Recommended Posts

Posted (edited)
public static String[] axes = new String[] {
		 "Iron axe",
		 "Bronze axe",
		 "Steel axe",
		 "Mithril axe",
		 "Adamant axe"
	};

I'm using the above, my question is when i use this to verify if my inventory contains the above items, why does it continue to execute when it only contains one of the items from the array

 

 

I want it to execute when it contains all of those items not just one

Edited by aftabdear

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...