Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
Apply transforms to vectors in //paste -s.
Dieser Commit ist enthalten in:
Ursprung
e0c8776f0f
Commit
28d45870e2
@ -159,8 +159,8 @@ public class ClipboardCommands {
|
||||
|
||||
if (selectPasted) {
|
||||
Vector clipboardOffset = clipboard.getRegion().getMinimumPoint().subtract(clipboard.getOrigin());
|
||||
Vector realTo = to.add(clipboardOffset);
|
||||
Vector max = realTo.add(region.getMaximumPoint().subtract(region.getMinimumPoint()));
|
||||
Vector realTo = to.add(holder.getTransform().apply(clipboardOffset));
|
||||
Vector max = realTo.add(holder.getTransform().apply(region.getMaximumPoint().subtract(region.getMinimumPoint())));
|
||||
RegionSelector selector = new CuboidRegionSelector(player.getWorld(), realTo, max);
|
||||
session.setRegionSelector(player.getWorld(), selector);
|
||||
selector.learnChanges();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren