mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-01-12 09:57:59 +00:00
Fixes #1221 (the NPE at least)
This commit is contained in:
parent
f20ef15774
commit
7da0b9877f
1 changed files with 14 additions and 12 deletions
|
@ -82,6 +82,7 @@ public class BukkitLocalQueue<T> extends BasicLocalBlockQueue<T> {
|
|||
if (blocksLayer != null) {
|
||||
for (int j = 0; j < blocksLayer.length; j++) {
|
||||
PlotBlock block = blocksLayer[j];
|
||||
if (block != null) {
|
||||
int x = MainUtil.x_loc[layer][j];
|
||||
int y = MainUtil.y_loc[layer][j];
|
||||
int z = MainUtil.y_loc[layer][j];
|
||||
|
@ -100,6 +101,7 @@ public class BukkitLocalQueue<T> extends BasicLocalBlockQueue<T> {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void setBiomes(LocalChunk<T> lc) {
|
||||
if (lc.biomes != null) {
|
||||
|
|
Loading…
Reference in a new issue