Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ConfigurationSection section_Checkpoint = getConfig().getConfigurationSection("checkpoints");
- if(!section_Checkpoint.getKeys(false).isEmpty()){
- for(String checkpoint : section_Checkpoint.getKeys(false)) {
- int number = section_Checkpoint.getInt(checkpoint + ".number");
- String location = section_Checkpoint.getString(checkpoint + ".location");
- this.checkpoints.add(new CheckPoint(number, getParseLoc(location)));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement