Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String[] options = menu.getActions();
- for(String i : options) {
- if(i.contains("climb") {
- // climb down
- } else if(i.contains("open") {
- //open
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement