Skip to content

Commit

Permalink
Reformatted
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlegiantJGC committed Sep 11, 2022
1 parent 5cc4181 commit 0de7b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amulet/level/formats/anvil_world/region.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def _write_data(self, cx: int, cz: int, data: Optional[bytes]):
# write the header data
handler.seek(4 * (cx + cz * 32))
handler.write(location)
handler.seek(SectorSize-4, os.SEEK_CUR)
handler.seek(SectorSize - 4, os.SEEK_CUR)
handler.write(struct.pack(">I", int(time.time())))

def write_data(self, cx: int, cz: int, data: NamedTag):
Expand Down

0 comments on commit 0de7b93

Please sign in to comment.