Advertisement
ZP4RKER

Untitled

Sep 19th, 2015
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. // first make the List<string>
  2. List<String> mods = new ArrayList<String>();
  3.  
  4. // then make a for each loop for the List<?>
  5.  
  6. for (Object object : getConfig().getList("mods")) {
  7. // Add the string of object to mods
  8. mods.add(object.toString());
  9. }
  10.  
  11. // That is how it is done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement