Update tests to use new join game packet definiton
This commit is contained in:
1 parent
0343df918c
commit
1b714e6449
1 file changed
+1
-1
@@ -103,7 +103,7 @@ class FakeClientHandler(object):
|
|||||||
# Called upon entering the play state.
|
# Called upon entering the play state.
|
||||||
self.write_packet(clientbound.play.JoinGamePacket(
|
self.write_packet(clientbound.play.JoinGamePacket(
|
||||||
entity_id=0, game_mode=0, dimension=0, hashed_seed=12345,
|
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))
|
reduced_debug_info=False, render_distance=9, respawn_screen=False))
|
||||||
|
|
||||||
def handle_play_packet(self, packet):
|
def handle_play_packet(self, packet):
|
||||||
|
|||||||
Reference in new issue
Block a user