Temporary location fix

This commit is contained in:
ShinyDialga 2017-12-29 19:05:21 -06:00
parent 5eb88ae3e0
commit c31401e79c
1 changed files with 9 additions and 2 deletions

View File

@ -854,7 +854,7 @@ public class Payload extends OwnedGoal<PayloadDefinition> {
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<PayloadDefinition> {
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) {