Save version chunks changed to 4-byte lengths
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package mindustry.io.versions;
|
||||
|
||||
import mindustry.gen.*;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
/** This version only reads entities, no entity ID mappings. */
|
||||
@@ -12,7 +14,7 @@ public class Save4 extends LegacySaveVersion2{
|
||||
@Override
|
||||
public void readEntities(DataInput stream) throws IOException{
|
||||
readTeamBlocks(stream);
|
||||
readWorldEntities(stream);
|
||||
readWorldEntities(stream, EntityMapping.idMap);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user