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;