use ChipmunkBot Core™

This commit is contained in:
ChomeNS 2023-03-16 14:57:12 +07:00
parent b4cafe0bec
commit 25dd67b499

View file

@ -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
}