From c31401e79cb15c78423955d48f50ec249ee27232 Mon Sep 17 00:00:00 2001 From: ShinyDialga Date: Fri, 29 Dec 2017 19:05:21 -0600 Subject: [PATCH] Temporary location fix --- PGM/src/main/java/tc/oc/pgm/payload/Payload.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/PGM/src/main/java/tc/oc/pgm/payload/Payload.java b/PGM/src/main/java/tc/oc/pgm/payload/Payload.java index bc03652..eaace7a 100644 --- a/PGM/src/main/java/tc/oc/pgm/payload/Payload.java +++ b/PGM/src/main/java/tc/oc/pgm/payload/Payload.java @@ -854,7 +854,7 @@ public class Payload extends OwnedGoal { Location location = path.getLocation(); - if (direction == null) { + /*if (direction == null) { differingX.add(-1.0); differingX.add(0.0); differingX.add(1.0); @@ -879,7 +879,14 @@ public class Payload extends OwnedGoal { differingX.add(0.0); differingZ.add(direction.equals(BlockFace.NORTH_WEST) || direction.equals(BlockFace.NORTH_EAST) ? 1.0 : -1.0); } - } + }*/ + + differingX.add(-1.0); + differingX.add(0.0); + differingX.add(1.0); + differingZ.add(-1.0); + differingZ.add(0.0); + differingZ.add(1.0); Location newLocation = location.clone(); for (double x : differingX) {