Commented out separator revision until 128 release

This commit is contained in:
Anuken 2021-06-30 13:08:19 -04:00
parent 10dcd9cb2d
commit f9dfd5b0b5

View File

@ -128,17 +128,19 @@ public class Separator extends Block{
return !consumes.itemFilters.get(item.id);
}
@Override
public byte version(){
return 1;
}
//TODO write seed in 128 release, don't write it now for compatibility with 127.x
//@Override
//public byte version(){
// return 1;
//}
@Override
public void write(Writes write){
super.write(write);
write.f(progress);
write.f(warmup);
write.i(seed);
//TODO see above
//write.i(seed);
}
@Override
@ -146,7 +148,8 @@ public class Separator extends Block{
super.read(read, revision);
progress = read.f();
warmup = read.f();
if(revision == 1) seed = read.i();
//TODO see above
//if(revision == 1) seed = read.i();
}
}
}