Fix slightly malformed chunk in example (#864)

This commit is contained in:
circuit10 2021-06-16 21:50:41 +01:00 committed by GitHub
parent 63846c6c15
commit 66f17e43eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,10 +48,8 @@ server.on('login', function (client) {
heightmaps: {
type: 'compound',
name: '',
value: {
MOTION_BLOCKING: { type: 'longArray', value: new Array(36).fill([0, 0]) }
}
}, // send fake heightmap
value: {} // Client will accept fake heightmap
},
bitMap: chunk.getMask(),
chunkData: chunk.dump(),
blockEntities: []