Fixed a few clipboard related issues.

This commit is contained in:
Matthew Miller
2018-07-30 21:55:53 +10:00
parent db21f51a18
commit 521238b4eb
8 changed files with 24 additions and 28 deletions

View File

@ -50,7 +50,7 @@ public class ClipboardPattern extends AbstractPattern {
int yp = Math.abs(position.getBlockY()) % size.getBlockY();
int zp = Math.abs(position.getBlockZ()) % size.getBlockZ();
return clipboard.getBlock(clipboard.getMinimumPoint().add(new Vector(xp, yp, zp)));
return clipboard.getFullBlock(clipboard.getMinimumPoint().add(new Vector(xp, yp, zp)));
}
}

View File

@ -89,7 +89,7 @@ public class RepeatingExtentPattern extends AbstractPattern {
int x = base.getBlockX() % size.getBlockX();
int y = base.getBlockY() % size.getBlockY();
int z = base.getBlockZ() % size.getBlockZ();
return extent.getBlock(new Vector(x, y, z));
return extent.getFullBlock(new Vector(x, y, z));
}
}