diff --git a/src/main/java/eu/ha3/presencefootsteps/world/PFSolver.java b/src/main/java/eu/ha3/presencefootsteps/world/PFSolver.java index 40110e87..654a58d2 100644 --- a/src/main/java/eu/ha3/presencefootsteps/world/PFSolver.java +++ b/src/main/java/eu/ha3/presencefootsteps/world/PFSolver.java @@ -145,10 +145,10 @@ private Association findAssociation(Entity player, BlockPos pos) { // Take the maximum direction and try with the orthogonal direction of it if (isXdangMax) { - return findAssociation(player.world, pos.north(zdang > 0 ? 1 : -1), collider); + return findAssociation(player.world, pos.south(zdang > 0 ? 1 : -1), collider); } - return findAssociation(player.world, pos.west(xdang > 0 ? 1 : -1), collider); + return findAssociation(player.world, pos.east(xdang > 0 ? 1 : -1), collider); } private String findForGolem(World world, BlockPos pos, String substrate) {