mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-26 17:16:12 -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++
|
||||
}
|
||||
|
||||
if (relativePosition.y >= config.core.layers) {
|
||||
relativePosition.y = 0
|
||||
relativePosition.z++
|
||||
if (relativePosition.z >= 16) {
|
||||
relativePosition.z = 0
|
||||
relativePosition.y++
|
||||
}
|
||||
|
||||
if (relativePosition.z >= 16) {
|
||||
if (relativePosition.y >= config.core.layers) {
|
||||
relativePosition.x = 0
|
||||
relativePosition.y = config.core.layers
|
||||
relativePosition.z = 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue