Update tests to use new join game packet definiton

This commit is contained in:
Tristan Gosselin-Hane 2020-05-22 12:49:12 -04:00
parent 0343df918c
commit 1b714e6449

View File

@ -103,7 +103,7 @@ class FakeClientHandler(object):
# Called upon entering the play state.
self.write_packet(clientbound.play.JoinGamePacket(
entity_id=0, game_mode=0, dimension=0, hashed_seed=12345,
difficulty=2, max_players=1, level_type='default',
difficulty=2, max_players=1, is_debug=False, is_flat=False,
reduced_debug_info=False, render_distance=9, respawn_screen=False))
def handle_play_packet(self, packet):