infallible 28 Share Posted November 13, 2015 (edited) answered Edited November 13, 2015 by infallible Link to comment Share on other sites More sharing options...
xboxnolifes 4 Share 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; }} Link to comment Share on other sites More sharing options...
infallible 28 Author Share Posted November 13, 2015 ffs thanks... Link to comment Share on other sites More sharing options...
sini 32 Share Posted November 13, 2015 lmao Volta 1 Link to comment Share on other sites More sharing options...
infallible 28 Author Share 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 . Link to comment Share on other sites More sharing options...
Recommended Posts