This commit is contained in:
Anuken
2020-11-05 09:09:19 -05:00
parent 70db073054
commit 47b123c219
5 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ public abstract class SaveFileReader{
protected int lastRegionLength;
protected @Nullable CounterInputStream currCounter;
protected void region(String name, DataInput stream, CounterInputStream counter, IORunner<DataInput> cons) throws IOException{
public void region(String name, DataInput stream, CounterInputStream counter, IORunner<DataInput> cons) throws IOException{
counter.resetCount();
this.currCounter = counter;
int length;
@@ -78,7 +78,7 @@ public abstract class SaveFileReader{
}
}
protected void region(String name, DataOutput stream, IORunner<DataOutput> cons) throws IOException{
public void region(String name, DataOutput stream, IORunner<DataOutput> cons) throws IOException{
try{
writeChunk(stream, cons);
}catch(Throwable e){