This commit is contained in:
Jesse Boyd 2016-11-30 16:10:08 +11:00
parent 7c6c19ba63
commit a3c1ad3ec8
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -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());
} }