mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2025-03-12 13:29:28 +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) {
|
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) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user