Now installer will set the url of base jar of Forge and LiteLoader.

This commit is contained in:
huanghongxun
2015-07-28 22:56:31 +08:00
parent c3008ec294
commit e4335cf1f0
10 changed files with 520 additions and 601 deletions

View File

@@ -195,10 +195,12 @@ class BlockInputStream extends InputStream {
filterChain = filters[i].getInputStream(filterChain);
}
@Override
public int read() throws IOException {
return read(tempBuf, 0, 1) == -1 ? -1 : (tempBuf[0] & 0xFF);
}
@Override
public int read(byte[] buf, int off, int len) throws IOException {
if (endReached)
return -1;