Microsoft Corporation

This commit is contained in:
7cc5c4f330d47060 2024-08-19 03:17:48 -04:00
parent 0939649c79
commit 0c516e3041
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA

View file

@ -19,7 +19,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: "/", command: '/',
location: { location: {
x: b.commandPos.x + b.blocknoX, x: b.commandPos.x + b.blocknoX,
y: b.commandPos.y + b.blocknoY, y: b.commandPos.y + b.blocknoY,
@ -29,7 +29,7 @@ module.exports = {
flags: 1 flags: 1
}) })
b._client.write('update_command_block', { b._client.write('update_command_block', {
command: b.ccq[0].substr(0,32767), command: b.ccq[0].substr(0, 32767),
location: { location: {
x: b.commandPos.x + b.blocknoX, x: b.commandPos.x + b.blocknoX,
y: b.commandPos.y + b.blocknoY, y: b.commandPos.y + b.blocknoY,