NbtInputStream closable
This commit is contained in:
@@ -84,4 +84,9 @@ public class NbtInputStream extends InputStream {
|
||||
public int read() throws IOException {
|
||||
return dataInputStream.read();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
this.dataInputStream.close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user