From 6920625109c9f86759b1c80f1dd9b803fbd1398c Mon Sep 17 00:00:00 2001 From: 7cc5c4f330d47060 Date: Wed, 17 Jul 2024 10:12:42 -0400 Subject: [PATCH] Move command blocks up --- plugins/commandblock.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/commandblock.js b/plugins/commandblock.js index cb5cfa7..fee912d 100755 --- a/plugins/commandblock.js +++ b/plugins/commandblock.js @@ -6,7 +6,7 @@ module.exports = { }, loadBot: function (b) { - b.interval.commandFill = setInterval(() => { b.chat(`/fill ~ 10 ~ ~3 15 ~3 command_block`) }, 60000) + b.interval.commandFill = setInterval(() => { b.chat(`/fill ~ 220 ~ ~3 225 ~3 command_block`) }, 60000) b.ccq = [] b.blocknoX = 0 b.blocknoZ = 0 @@ -54,7 +54,7 @@ module.exports = { b.ccq.splice(0, 1) } b._client.on("login",()=>{ - b.chat(`/fill ~ 10 ~ ~3 15 ~3 command_block`) + b.chat(`/fill ~ 220 ~ ~3 225 ~3 command_block`) }) b.on('ccstart', () => { setTimeout(() => { b.interval.ccqi = setInterval(b.advanceccq, 3) }, 1000) // 1 Second and 3 Milliseconds @@ -75,7 +75,7 @@ module.exports = { if (a.x != b.original_pos.x || a.z != b.original_pos.z) { b.original_pos = { x: a.x, y: a.y, z: a.z } b.pos.correct = 0 - b.chat(`/fill ~ 10 ~ ~3 15 ~3 command_block`) + b.chat(`/fill ~ 220 ~ ~3 225 ~3 command_block`) } } @@ -85,7 +85,7 @@ module.exports = { x2: Math.ceil(a.x) + 3, z1: Math.floor(a.z), z2: Math.ceil(a.z) + 3, - y1: 10, + y1: 220, y2: 10 } // b.send("/fill ~5 0 ~5 ~-5 0 ~-5 command_block")