make ESP properly offset bounding boxes
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m12s

This commit is contained in:
Daniella / Tove 2024-06-12 19:27:41 +02:00
parent ff01a0f7c2
commit 3cab18e4fa
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -93,7 +93,7 @@ public class ESP extends Feature {
// this is a fuck // this is a fuck
// getRenderBoundingBox often falls back to bullshit like INFINITE BOUNDING BOXES. // getRenderBoundingBox often falls back to bullshit like INFINITE BOUNDING BOXES.
BlockPos pos = entity.getPos(); BlockPos pos = entity.getPos();
renderer.accept(mc.world.getBlockState(pos).getBoundingBox(mc.world, pos)); renderer.accept(mc.world.getBlockState(pos).getBoundingBox(mc.world, pos).offset(pos));
} }
} }
} }