Skip to content

Commit

Permalink
Update TurretManager.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerS1066 committed Jul 25, 2024
1 parent 611ea0e commit 82e50f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 82e50f6

Please sign in to comment.