Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // first make the List<string>
- List<String> mods = new ArrayList<String>();
- // then make a for each loop for the List<?>
- for (Object object : getConfig().getList("mods")) {
- // Add the string of object to mods
- mods.add(object.toString());
- }
- // That is how it is done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement