mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Fixes #1449
This commit is contained in:
parent
7c6c19ba63
commit
a3c1ad3ec8
@ -112,6 +112,7 @@ 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 != null) {
|
||||||
if (newBlock.id == -1) {
|
if (newBlock.id == -1) {
|
||||||
chunk.getBlock(x, y, z).setData(newBlock.data, false);
|
chunk.getBlock(x, y, z).setData(newBlock.data, false);
|
||||||
continue;
|
continue;
|
||||||
@ -120,6 +121,7 @@ public class BukkitLocalQueue_1_7 extends BukkitLocalQueue<PlotBlock[]> {
|
|||||||
this.methodA.of(c).call(x, y, z, block, newBlock.data);
|
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