xboxnolifes 4 Posted November 13, 2015 You need to have a closing curly bracket before the else if. private state getState(){ if(getInventory().contains(pickaxe)){ /*This else has no if... for some reason...*/ } else if (!getInventory().contains(ore)){ return state.MINE; }}
infallible 28 Author Posted November 13, 2015 Can someone direct me as to how I should go about finding and interacting with some object "rocks" via ID's? Also, are there any other ways of finding and interacting with objects other than ID's and colors and names? All rocks have the same name so that doesn't help me .
Recommended Posts
Archived
This topic is now archived and is closed to further replies.