This commit is contained in:
Anuken
2020-11-24 10:23:28 -05:00
parent 058b2ddfce
commit 7d43856735
8 changed files with 22 additions and 6 deletions

View File

@@ -286,7 +286,7 @@ public abstract class SaveVersion extends SaveFileReader{
public void writeEntities(DataOutput stream) throws IOException{
//write team data with entities.
Seq<TeamData> data = state.teams.getActive();
Seq<TeamData> data = state.teams.getActive().and(Team.sharded.data());
stream.writeInt(data.size);
for(TeamData team : data){
stream.writeInt(team.team.id);