mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-13 08:15:04 +07:00
Commented out separator revision until 128 release
This commit is contained in:
parent
10dcd9cb2d
commit
f9dfd5b0b5
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user