fix broken tests

This commit is contained in:
TheSnoozer authored and joo committed 2017-08-09 16:33:41 +01:00
1 parent 4a508f935b
commit 346b3081ec
4 files changed
+54 -50

No files matched your search

@@ -215,9 +215,7 @@ class BlockChangePacket(Packet):
def write(self, socket, compression_threshold=None):
packet_buffer = PacketBuffer()
x = self.location['x']
y = self.location['y']
z = self.location['z']
(x, y, z) = self.location
Position.send(x, y, z, packet_buffer)
blockData = ((self.blockId << 4) | (self.blockMeta & 0xF))
VarInt.send(blockData)