Skip to content

Commit

Permalink
Fix for augmented
Browse files Browse the repository at this point in the history
  • Loading branch information
boy0001 committed Jun 19, 2016
1 parent b2c885e commit 8512adf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public boolean setBiome(int x, int z, String biome) {
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;
Expand All @@ -114,7 +114,7 @@ public boolean setBiome(int x, int z, String biome) {
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;
Expand Down

0 comments on commit 8512adf

Please sign in to comment.