Added missing return statement

This commit is contained in:
Lenni0451 2023-04-23 19:30:02 +02:00
parent 1c46b09449
commit e2b68f0644

View File

@ -42,7 +42,7 @@ public class URLClassProvider implements IClassProvider {
public byte[] getClass(String name) { public byte[] getClass(String name) {
for (URL url : this.urls) { for (URL url : this.urls) {
try (InputStream is = new URL("jar:" + url + "!/" + ASMUtils.slash(name) + ".class").openStream()) { try (InputStream is = new URL("jar:" + url + "!/" + ASMUtils.slash(name) + ".class").openStream()) {
IOUtils.toByteArray(is); return IOUtils.toByteArray(is);
} catch (Throwable ignored) { } catch (Throwable ignored) {
} }
} }