//copy and //paste now respect /toggleplace.

Dieser Commit ist enthalten in:
TomyLobo 2011-09-02 21:01:24 +02:00
Ursprung bc6315fb24
Commit 3205904003

Datei anzeigen

@ -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)),