NbtInputStream closable

This commit is contained in:
2019-09-23 15:10:30 +03:00
parent edced1e9ea
commit ad950a1f54

View File

@@ -84,4 +84,9 @@ public class NbtInputStream extends InputStream {
public int read() throws IOException { public int read() throws IOException {
return dataInputStream.read(); return dataInputStream.read();
} }
@Override
public void close() throws IOException {
this.dataInputStream.close();
}
} }