diff --git a/src/main/java/eu/ha3/presencefootsteps/sound/SoundEngine.java b/src/main/java/eu/ha3/presencefootsteps/sound/SoundEngine.java index dbd9a74a..fdf01790 100644 --- a/src/main/java/eu/ha3/presencefootsteps/sound/SoundEngine.java +++ b/src/main/java/eu/ha3/presencefootsteps/sound/SoundEngine.java @@ -71,6 +71,7 @@ private Stream getTargets(Entity cameraEntity) { && !(e instanceof FlyingEntity) && !e.hasVehicle() && !((LivingEntity)e).isSleeping() + && (!(e instanceof PlayerEntity) || !((PlayerEntity)e).isSpectator()) && e.distanceTo(cameraEntity) <= 16 && (config.getEnabledGlobal() || (e instanceof PlayerEntity)); }).stream();