Time6628 / CatClearLag

ClearLag for sponge.
MIT License
13 stars 22 forks source link

Doesn't teleport to correct coordinates #2

Closed cj89898 closed 7 years ago

cj89898 commented 7 years ago

When using /lc it doesn't teleport you to the correct coordinates. The blockray gets the location of the chunk Optional<BlockRayHit<World>> c = BlockRay.from(b).stopFilter(BlockRay.onlyAirFilter()).to(a.getPosition().sub(a.getX(), 1, a.getZ())).end();

it should be Optional<BlockRayHit<World>> c = BlockRay.from(b).stopFilter(BlockRay.onlyAirFilter()).to(a.getPosition().sub(b.getX(), 1, b.getZ())).end()

I believe. This is the conversation where we looked at the issue: https://pastebin.com/raw/Qv3yWHEd

Time6628 commented 7 years ago

Will be fixed in the next update.