Autogeneration of some IO code
This commit is contained in:
@@ -224,6 +224,8 @@ public abstract class SaveVersion extends SaveFileReader{
|
||||
|
||||
stream.writeInt(Groups.sync.size());
|
||||
for(Syncc entity : Groups.sync){
|
||||
if(!entity.serialize()) continue;
|
||||
|
||||
writeChunk(stream, true, out -> {
|
||||
out.writeByte(entity.classId());
|
||||
entity.write(out);
|
||||
|
||||
Reference in New Issue
Block a user