diff --git a/src/launch/java/baritone/launch/mixins/MixinChunkRenderWorker.java b/src/launch/java/baritone/launch/mixins/MixinChunkRenderWorker.java index 3621b664..a8247a9b 100644 --- a/src/launch/java/baritone/launch/mixins/MixinChunkRenderWorker.java +++ b/src/launch/java/baritone/launch/mixins/MixinChunkRenderWorker.java @@ -31,7 +31,8 @@ import org.spongepowered.asm.mixin.injection.Redirect; @Mixin(ChunkRenderWorker.class) public abstract class MixinChunkRenderWorker { - @Shadow protected abstract boolean isChunkExisting(BlockPos pos, World worldIn); + @Shadow + protected abstract boolean isChunkExisting(BlockPos pos, World worldIn); @Redirect( method = "processTask", @@ -45,7 +46,7 @@ public abstract class MixinChunkRenderWorker { Baritone baritone = (Baritone) BaritoneAPI.getProvider().getPrimaryBaritone(); IPlayerContext ctx = baritone.getPlayerContext(); if (ctx.player() != null && ctx.world() != null && baritone.bsi != null) { - return baritone.bsi.isLoaded(pos.getX(), pos.getZ()); + return baritone.bsi.isLoaded(pos.getX(), pos.getZ()) || this.isChunkExisting(pos, world); } }