Advertisement
riking

Untitled

May 29th, 2014
558
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1.         availableWorlds = new ArrayList<WorldConfig>();
  2.         List<Map<?, ?>> schematics = section.getMapList("schematic");
  3.         for (Map<?, ?> map : schematics) {
  4.             availableWorlds.add(
  5.                     (WorldConfig) ConfigurationSerialization.deserializeObject(
  6.                             (Map<String, ?>) map, WorldConfig.class));
  7.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement