mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
//copy and //paste now respect /toggleplace.
This commit is contained in:
parent
bc6315fb24
commit
3205904003
@ -52,7 +52,7 @@ public class ClipboardCommands {
|
|||||||
Region region = session.getSelection(player.getWorld());
|
Region region = session.getSelection(player.getWorld());
|
||||||
Vector min = region.getMinimumPoint();
|
Vector min = region.getMinimumPoint();
|
||||||
Vector max = region.getMaximumPoint();
|
Vector max = region.getMaximumPoint();
|
||||||
Vector pos = player.getBlockIn();
|
Vector pos = session.getPlacementPosition(player);
|
||||||
|
|
||||||
CuboidClipboard clipboard = new CuboidClipboard(
|
CuboidClipboard clipboard = new CuboidClipboard(
|
||||||
max.subtract(min).add(new Vector(1, 1, 1)),
|
max.subtract(min).add(new Vector(1, 1, 1)),
|
||||||
@ -85,7 +85,7 @@ public class ClipboardCommands {
|
|||||||
Region region = session.getSelection(player.getWorld());
|
Region region = session.getSelection(player.getWorld());
|
||||||
Vector min = region.getMinimumPoint();
|
Vector min = region.getMinimumPoint();
|
||||||
Vector max = region.getMaximumPoint();
|
Vector max = region.getMaximumPoint();
|
||||||
Vector pos = player.getBlockIn();
|
Vector pos = session.getPlacementPosition(player);
|
||||||
|
|
||||||
CuboidClipboard clipboard = new CuboidClipboard(
|
CuboidClipboard clipboard = new CuboidClipboard(
|
||||||
max.subtract(min).add(new Vector(1, 1, 1)),
|
max.subtract(min).add(new Vector(1, 1, 1)),
|
||||||
|
Loading…
Reference in New Issue
Block a user