fix: core not being relocated when over simulation distance
This commit is contained in:
@@ -1 +1 @@
|
||||
2300
|
||||
2301
|
||||
@@ -415,8 +415,8 @@ public class CorePlugin
|
||||
// only relocate the core when it really needs to
|
||||
if (
|
||||
from == null || to == null ||
|
||||
Math.abs(botChunkPosX - coreChunkPosX) > bot.world.simulationDistance ||
|
||||
Math.abs(botChunkPosZ - coreChunkPosZ) > bot.world.simulationDistance
|
||||
Math.abs(botChunkPosX - coreChunkPosX) >= bot.world.simulationDistance ||
|
||||
Math.abs(botChunkPosZ - coreChunkPosZ) >= bot.world.simulationDistance
|
||||
) {
|
||||
reset();
|
||||
refill(false);
|
||||
|
||||
Reference in New Issue
Block a user