135136137138139140141142143144145
for (File file : dataDir.listFiles()) { try { Storage storage = loadXMLStorageFromFile(file); shops.add(ShopImporter.loadShop(storage, new WorldProvider() { @Override public World getWorld(String name) { return scs.getServer().getWorld(name); }
430431432433434435436437438439440
List<Shop> shops = new ArrayList<Shop>(); for (Storage storage : this.storages.values()) { try { shops.add(ShopImporter.loadShop(storage, new WorldProvider() { @Override public World getWorld(String name) { return scs.getServer().getWorld(name); }