fix highlightNothing being inverted
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m14s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m14s
This commit is contained in:
parent
5058ffcdd4
commit
9f220acd74
1 changed files with 1 additions and 1 deletions
|
@ -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) && mc.objectMouseOver.typeOfHit != RayTraceResult.Type.ENTITY) {
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue