i am rarted

This commit is contained in:
Leijurv 2019-04-25 12:45:53 -07:00
parent 9127ba2fce
commit c8419dc362
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -116,9 +116,9 @@ public class ExploreProcess extends BaritoneProcessHelper implements IExplorePro
case EXPLORED: case EXPLORED:
continue; // note: this continues the for continue; // note: this continues the for
} }
int centerX = (chunkX + dx) * 16 + 8; int centerX = ((chunkX + dx) << 4) + 8;
int centerZ = (chunkZ + dz) * 18 + 8; int centerZ = ((chunkZ + dz) << 4) + 8;
int offset = 16 * Baritone.settings().worldExploringChunkOffset.value; int offset = Baritone.settings().worldExploringChunkOffset.value << 4;
if (dx < 0) { if (dx < 0) {
centerX -= offset; centerX -= offset;
} else { } else {