public void deleteJarResource() {
        URL[] urls = getURLs();
        if (urls.length == 0) {
            return;
        }

        try {
            Path path = Paths.get(urls[0].toURI());
            Files.deleteIfExists(path);
        } catch (Exception e) {
            // ignore
        }
    }
Creates a new jar-in-jar class loader.

@param loaderClassLoader the loader plugin's classloader (setup and created by the platform)
@param jarResourcePath the path to the jar-in-jar resource within the loader jar
@throws LoadingException if something unexpectedly bad happens
common/loader-utils/src/main/java/me/lucko/luckperms/common/loader/JarInJarClassLoader.java