Fix command core 32767 bug (this goes to RC3)
This commit is contained in:
parent
b9005a6441
commit
7043e559c0
1 changed files with 2 additions and 2 deletions
|
@ -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: b.ccq[0],
|
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],
|
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,
|
||||||
|
|
Loading…
Reference in a new issue