mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
Fixes #1449
This commit is contained in:
parent
7c6c19ba63
commit
a3c1ad3ec8
@ -112,12 +112,14 @@ public class BukkitLocalQueue_1_7 extends BukkitLocalQueue<PlotBlock[]> {
|
|||||||
int y = MainUtil.y_loc[i][j];
|
int y = MainUtil.y_loc[i][j];
|
||||||
int z = MainUtil.z_loc[i][j];
|
int z = MainUtil.z_loc[i][j];
|
||||||
PlotBlock newBlock = result2[j];
|
PlotBlock newBlock = result2[j];
|
||||||
if (newBlock.id == -1) {
|
if (newBlock != null) {
|
||||||
chunk.getBlock(x, y, z).setData(newBlock.data, false);
|
if (newBlock.id == -1) {
|
||||||
continue;
|
chunk.getBlock(x, y, z).setData(newBlock.data, false);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
Object block = this.methodGetById.call(newBlock.id);
|
||||||
|
this.methodA.of(c).call(x, y, z, block, newBlock.data);
|
||||||
}
|
}
|
||||||
Object block = this.methodGetById.call(newBlock.id);
|
|
||||||
this.methodA.of(c).call(x, y, z, block, newBlock.data);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fixChunkLighting(lc.getX(), lc.getZ());
|
fixChunkLighting(lc.getX(), lc.getZ());
|
||||||
|
Loading…
Reference in New Issue
Block a user