mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 11:26:42 +00:00
Fixed a few clipboard related issues.
This commit is contained in:
@ -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)));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user