Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- availableWorlds = new ArrayList<WorldConfig>();
- List<Map<?, ?>> schematics = section.getMapList("schematic");
- for (Map<?, ?> map : schematics) {
- availableWorlds.add(
- (WorldConfig) ConfigurationSerialization.deserializeObject(
- (Map<String, ?>) map, WorldConfig.class));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement