From 9fe95262d28a72a411b78a1c4f183dbd281d51d9 Mon Sep 17 00:00:00 2001 From: Pug <81167232+MerchantPug@users.noreply.github.com> Date: Wed, 13 Mar 2024 21:21:14 +1100 Subject: [PATCH] Apoli: Fix EdwinMindcraft/origins-architectury#410 --- .../apoli/configuration/RaycastSettingsConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/apace100/apoli/configuration/RaycastSettingsConfiguration.java b/src/main/java/io/github/apace100/apoli/configuration/RaycastSettingsConfiguration.java index 588456c85..fc65889e9 100644 --- a/src/main/java/io/github/apace100/apoli/configuration/RaycastSettingsConfiguration.java +++ b/src/main/java/io/github/apace100/apoli/configuration/RaycastSettingsConfiguration.java @@ -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; }