mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2025-01-24 00:21:31 +01:00
Fix: MultiBlockChangePacket reads y_coordinate wrongly.
This commit is contained in:
parent
0ec2398fb4
commit
ece90fcd9d
@ -101,7 +101,7 @@ class MultiBlockChangePacket(Packet):
|
||||
self.records = []
|
||||
for i in range(records_count):
|
||||
record = record_type(h_position=UnsignedByte.read(file_object),
|
||||
y_coordinate=VarInt.read(file_object),
|
||||
y_coordinate=UnsignedByte.read(file_object),
|
||||
blockData=VarInt.read(file_object))
|
||||
self.records.append(record)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user