Add support for Minecraft 1.18 and 1.18.1.

This commit is contained in:
joodicator committed 2021-12-16 19:39:13 +01:00
1 parent 1ae9a2b48a
commit bf49006553
17 files changed
+322 -75

No files matched your search

+2 -1
View File
@@ -115,7 +115,8 @@ class FakeClientHandler(object):
world_name='minecraft:overworld',
hashed_seed=12345, difficulty=2, max_players=1,
level_type='default', reduced_debug_info=False, render_distance=9,
respawn_screen=False, is_debug=False, is_flat=False)
simulation_distance=9, respawn_screen=False, is_debug=False,
is_flat=False)
if self.server.context.protocol_later_eq(748):
packet.dimension = pynbt.TAG_Compound({