From 82e50f65f0a6700d21a4a41247acec25b834170f Mon Sep 17 00:00:00 2001 From: TylerS1066 Date: Wed, 24 Jul 2024 20:59:00 -0500 Subject: [PATCH] Update TurretManager.java --- src/main/java/com/snowleopard1863/APTurrets/TurretManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/snowleopard1863/APTurrets/TurretManager.java b/src/main/java/com/snowleopard1863/APTurrets/TurretManager.java index e045648..3dc2f8c 100644 --- a/src/main/java/com/snowleopard1863/APTurrets/TurretManager.java +++ b/src/main/java/com/snowleopard1863/APTurrets/TurretManager.java @@ -224,7 +224,7 @@ private boolean runRaycast(@NotNull Player shooter) { } // Check for block directly between - Block targetBlock = shooter.getTargetBlock(null, Config.RaycastRange); + Block targetBlock = shooter.getTargetBlock(Directors.Transparent, Config.RaycastRange); if (targetBlock.getLocation().distanceSquared(shooterLoc) < distSquared) continue;