mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
parent
8e8bd810b5
commit
fc91c3b56e
@ -22,7 +22,7 @@ public abstract class ReadOnlyClipboard extends SimpleClipboard {
|
||||
|
||||
public ReadOnlyClipboard(Region region) {
|
||||
super(region);
|
||||
this.region = region;
|
||||
this.region = region.clone();
|
||||
}
|
||||
|
||||
public static ReadOnlyClipboard of(final Region region) {
|
||||
|
@ -63,7 +63,7 @@ public class BlockArrayClipboard implements Clipboard {
|
||||
|
||||
public BlockArrayClipboard(Clipboard clipboard, BlockVector3 offset) {
|
||||
this.parent = clipboard;
|
||||
Region shifted = clipboard.getRegion();
|
||||
Region shifted = clipboard.getRegion().clone();
|
||||
shifted.shift(offset);
|
||||
this.region = shifted;
|
||||
this.origin = shifted.getMinimumPoint();
|
||||
@ -84,7 +84,7 @@ public class BlockArrayClipboard implements Clipboard {
|
||||
checkNotNull(parent);
|
||||
checkNotNull(region);
|
||||
this.parent = parent;
|
||||
this.region = region;
|
||||
this.region = region.clone();
|
||||
this.origin = region.getMinimumPoint();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user