Test fixes / Building module presence saving

This commit is contained in:
Anuken
2021-11-17 10:58:36 -05:00
parent 29f8ebddb9
commit 4567ee9a13
8 changed files with 54 additions and 19 deletions

View File

@@ -79,6 +79,10 @@ public abstract class SaveFileReader{
protected int lastRegionLength;
protected @Nullable CounterInputStream currCounter;
public static String mapFallback(String name){
return fallback.get(name, name);
}
public void region(String name, DataInput stream, CounterInputStream counter, IORunner<DataInput> cons) throws IOException{
counter.resetCount();
this.currCounter = counter;