mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 13:45:36 +01:00
Fix writing tiles to schematics
This commit is contained in:
parent
8ab28115a4
commit
fb9bdeca7d
@ -77,10 +77,10 @@ public class SchematicWriter implements ClipboardWriter {
|
|||||||
int y = (int) point.y;
|
int y = (int) point.y;
|
||||||
int z = (int) point.z;
|
int z = (int) point.z;
|
||||||
if (this.x == x - 1 && this.y == y && this.z == z) {
|
if (this.x == x - 1 && this.y == y && this.z == z) {
|
||||||
|
this.x++;
|
||||||
index++;
|
index++;
|
||||||
x++;
|
|
||||||
} else {
|
} else {
|
||||||
index = yarea[y] + zwidth[z] + x;
|
index = yarea[this.y = y] + zwidth[this.z = z] + (this.x = x);
|
||||||
}
|
}
|
||||||
int id = block.getId();
|
int id = block.getId();
|
||||||
blocks[index] = (byte) id;
|
blocks[index] = (byte) id;
|
||||||
|
Loading…
Reference in New Issue
Block a user