mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-14 19:15:08 -05:00
Fixed compile error
This commit is contained in:
parent
53a091ba8f
commit
a1e14e5610
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue