mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 08:36:45 +01:00
Fix for augmented
This commit is contained in:
parent
b2c885e8d1
commit
8512adf9d6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user