mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
Fix slightly malformed chunk in example (#864)
This commit is contained in:
parent
63846c6c15
commit
66f17e43eb
1 changed files with 2 additions and 4 deletions
|
@ -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: []
|
||||
|
|
Loading…
Reference in a new issue