}
}
classPool = new ClassLoaderPool(false);
preSrgClassPool = new ClassLoaderPool(true);
try {
mappings = new MCPMappings(true);
preSrgMappings = new MCPMappings(false);
} catch (IOException e) {
throw new RuntimeException("Failed to load mappings", e);
}
try {
patchClassInstance = patchesClass.getDeclaredConstructors()[0].newInstance(classPool, mappings);