Added backwards compatibility for legacy saves
@@ -17,6 +17,12 @@ public class CounterInputStream extends FilterInputStream{
count = 0;
}
+ @Override
+ public long skip(long l) throws IOException{
+ count += l;
+ return super.skip(l);
+ }
+
@Override
public int read() throws IOException{
count ++;
