mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 11:40:41 +00:00
Fix for augmented
This commit is contained in:
parent
b2c885e8d1
commit
8512adf9d6
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ public class AugmentedUtils {
|
||||||
boolean can = manager.getPlotId(area, rx, 0, rz) == null;
|
boolean can = manager.getPlotId(area, rx, 0, rz) == null;
|
||||||
if (can) {
|
if (can) {
|
||||||
for (int y = 1; y < 128; y++) {
|
for (int y = 1; y < 128; y++) {
|
||||||
queue.setBlock(x, y, z, air);
|
queue.setBlock(rx, y, rz, air);
|
||||||
}
|
}
|
||||||
canPlace[x][z] = can;
|
canPlace[x][z] = can;
|
||||||
has = true;
|
has = true;
|
||||||
|
@ -114,7 +114,7 @@ public class AugmentedUtils {
|
||||||
secondaryMask = new DelegateLocalBlockQueue(primaryMask) {
|
secondaryMask = new DelegateLocalBlockQueue(primaryMask) {
|
||||||
@Override
|
@Override
|
||||||
public boolean setBlock(int x, int y, int z, int id, int data) {
|
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 super.setBlock(x, y, z, id, data);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue