<BUG>IRegion region = FGManager.getInstance().getWorldRegion(world, entry.getKey());if (region != null) {logger.info("Loading links for world region \"" + region.getName() + "\"");</BUG><CONTEXT>public synchronized void loadWorldRegionLinks(World world) {logger.info("Loading world region links for world \"" + world.getName() + "\"");try (DB mainDB = DBMaker.fileDB(worldDirectories.get(world.getName()).resolve("wregions.foxdb").normalize().toString()).make()) {Map<String, String> linksMap = mainDB.hashMap("links", Serializer.STRING, Serializer.STRING).createOrOpen();linksMap.entrySet().forEach(entry -> {<extra_id_0>String handlersString = entry.getValue();</CONTEXT>
Optional<IWorldRegion> regionOpt = FGManager.getInstance().getWorldRegion(world, entry.getKey());if (regionOpt.isPresent()) {IWorldRegion region = regionOpt.get();logger.info("Loading links for world region \"" + region.getName() + "\"");