Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MerchantPug committed Mar 13, 2024
1 parent 748487d commit 9fe9526
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public HitResult perform(@NotNull Entity entity, @NotNull Vec3 origin, @NotNull
}
}
if (result == null)
return BlockHitResult.miss(origin, Direction.getNearest(direction.x, direction.y, direction.z), new BlockPos((int) target.x(), (int) target.y(), (int) target.z()));
return BlockHitResult.miss(target, Direction.getNearest(direction.x, direction.y, direction.z), new BlockPos((int) target.x(), (int) target.y(), (int) target.z()));
return result;
}

Expand Down

0 comments on commit 9fe9526

Please sign in to comment.