mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-12-22 16:38:04 +01:00
Fixed compile error
This commit is contained in:
parent
53a091ba8f
commit
a1e14e5610
@ -39,7 +39,7 @@ public class URLClassProvider implements IClassProvider {
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] getClass(String name) {
|
||||
public byte[] getClass(String name) throws ClassNotFoundException {
|
||||
for (URL url : this.urls) {
|
||||
try (InputStream is = new URL("jar:" + url + "!/" + ASMUtils.slash(name) + ".class").openStream()) {
|
||||
return IOUtils.toByteArray(is);
|
||||
|
Loading…
Reference in New Issue
Block a user