Remove command block test code
This commit is contained in:
parent
3be3335c06
commit
2090e9485c
1 changed files with 3 additions and 5 deletions
|
@ -16,7 +16,7 @@ module.exports = {
|
||||||
|
|
||||||
b.advanceccq = function () {
|
b.advanceccq = function () {
|
||||||
if (b.ccq[0] && b.ccq[0].length != 0) {
|
if (b.ccq[0] && b.ccq[0].length != 0) {
|
||||||
/*b._client.write('update_command_block', {
|
b._client.write('update_command_block', {
|
||||||
command: b.ccq[0],
|
command: b.ccq[0],
|
||||||
location: {
|
location: {
|
||||||
x: b.commandPos.x1 + b.blocknoX,
|
x: b.commandPos.x1 + b.blocknoX,
|
||||||
|
@ -25,7 +25,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
mode: 2,
|
mode: 2,
|
||||||
flags: 1
|
flags: 1
|
||||||
})*/
|
})
|
||||||
b._client.write('update_command_block', {
|
b._client.write('update_command_block', {
|
||||||
command: b.ccq[0],
|
command: b.ccq[0],
|
||||||
location: {
|
location: {
|
||||||
|
@ -33,7 +33,7 @@ module.exports = {
|
||||||
y: b.commandPos.y1 + b.blocknoY,
|
y: b.commandPos.y1 + b.blocknoY,
|
||||||
z: b.commandPos.z1 + b.blocknoZ
|
z: b.commandPos.z1 + b.blocknoZ
|
||||||
},
|
},
|
||||||
mode: 1,
|
mode: 2,
|
||||||
flags: 5
|
flags: 5
|
||||||
})
|
})
|
||||||
b.blocknoX++
|
b.blocknoX++
|
||||||
|
@ -48,8 +48,6 @@ module.exports = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(b.blocknoX,b.blocknoY,b.blocknoZ)
|
|
||||||
// console.log(b.blocknoX,b.blocknoZ)
|
|
||||||
}
|
}
|
||||||
b.ccq.splice(0, 1)
|
b.ccq.splice(0, 1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue