From 8512adf9d6d77b2c91d84506279cb932bcf44856 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 19 Jun 2016 13:01:23 +1000 Subject: [PATCH] Fix for augmented --- .../intellectualcrafters/plot/generator/AugmentedUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/generator/AugmentedUtils.java b/Core/src/main/java/com/intellectualcrafters/plot/generator/AugmentedUtils.java index 76e490f56..feb805925 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/generator/AugmentedUtils.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/generator/AugmentedUtils.java @@ -100,7 +100,7 @@ public class AugmentedUtils { boolean can = manager.getPlotId(area, rx, 0, rz) == null; if (can) { for (int y = 1; y < 128; y++) { - queue.setBlock(x, y, z, air); + queue.setBlock(rx, y, rz, air); } canPlace[x][z] = can; has = true; @@ -114,7 +114,7 @@ public class AugmentedUtils { secondaryMask = new DelegateLocalBlockQueue(primaryMask) { @Override public boolean setBlock(int x, int y, int z, int id, int data) { - if (canPlace[x][z]) { + if (canPlace[x - bx][z - bz]) { return super.setBlock(x, y, z, id, data); } return false;