Make PlotLoc's immutable

This commit is contained in:
Sauilitired
2019-04-04 18:26:10 +02:00
parent 69b05932eb
commit 7e401a83cf
3 changed files with 20 additions and 28 deletions

View File

@ -223,7 +223,7 @@ public class BukkitChunkManager extends ChunkManager {
for (int y = 0; y < blocks.length; y++) {
if (blocks[y] != null) {
BaseBlock block = blocks[y];
queue.setBlock(loc.x, y, loc.z, block);
queue.setBlock(loc.getX(), y, loc.getZ(), block);
}
}
}