mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2025-03-11 13:19:40 +01:00
Added missing return statement
This commit is contained in:
parent
1c46b09449
commit
e2b68f0644
@ -42,7 +42,7 @@ public class URLClassProvider implements IClassProvider {
|
||||
public byte[] getClass(String name) {
|
||||
for (URL url : this.urls) {
|
||||
try (InputStream is = new URL("jar:" + url + "!/" + ASMUtils.slash(name) + ".class").openStream()) {
|
||||
IOUtils.toByteArray(is);
|
||||
return IOUtils.toByteArray(is);
|
||||
} catch (Throwable ignored) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user