mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-30 02:55:44 -05:00
use ChipmunkBot Core™
This commit is contained in:
parent
b4cafe0bec
commit
25dd67b499
1 changed files with 6 additions and 4 deletions
|
@ -22,12 +22,14 @@ function inject (bot, dcclient, config) {
|
||||||
relativePosition.y++
|
relativePosition.y++
|
||||||
}
|
}
|
||||||
|
|
||||||
if (relativePosition.y >= config.core.layers) {
|
if (relativePosition.z >= 16) {
|
||||||
relativePosition.y = 0
|
relativePosition.z = 0
|
||||||
relativePosition.z++
|
relativePosition.y++
|
||||||
}
|
}
|
||||||
|
|
||||||
if (relativePosition.z >= 16) {
|
if (relativePosition.y >= config.core.layers) {
|
||||||
|
relativePosition.x = 0
|
||||||
|
relativePosition.y = config.core.layers
|
||||||
relativePosition.z = 0
|
relativePosition.z = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue