Remember to add PacketTileSync to PacketType.

- Also code formatting