fix it probably
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m9s

This commit is contained in:
Jess H 2024-06-17 02:45:54 +01:00
parent 5af6ecb9c0
commit 92065c3d13
Signed by: UnixSystemV
GPG key ID: 9B21C50B68D67F19

View file

@ -121,7 +121,7 @@ public class ESP extends Feature {
if(highlight) {
if(mc.objectMouseOver != null) {
BlockPos pos = mc.objectMouseOver.getBlockPos();
if (!(mc.objectMouseOver.typeOfHit == RayTraceResult.Type.MISS) || !hightlightNothing) {
if ((mc.objectMouseOver.typeOfHit != RayTraceResult.Type.MISS || !hightlightNothing) && mc.objectMouseOver.typeOfHit != RayTraceResult.Type.ENTITY) {
renderer.accept(mc.world.getBlockState(pos).getBoundingBox(mc.world, pos).offset(pos));
}
}