fix freecam interfering with ESP
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m8s

This commit is contained in:
Daniella / Tove 2024-06-12 22:46:55 +02:00
parent 21cd5985b4
commit 6d852bda01
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -87,7 +87,7 @@ public class ESP extends Feature {
if (entities) {
for (Entity entity : mc.world.loadedEntityList) {
AxisAlignedBB interpolated = RenderAdapter.getLiveEntityBB(entity, event.getPartialTicks());
if (entity == mc.player && mc.gameSettings.thirdPersonView == 0) {
if (entity == mc.getRenderViewEntity() && mc.gameSettings.thirdPersonView == 0) {
continue;
}
renderer.accept(interpolated);