mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Actually apply source mask when using //paste -m <mask> (#1810)
This commit is contained in:
parent
84f6039f41
commit
692a010c39
@ -495,14 +495,14 @@ public class ClipboardCommands {
|
|||||||
) throws WorldEditException {
|
) throws WorldEditException {
|
||||||
|
|
||||||
ClipboardHolder holder = session.getClipboard();
|
ClipboardHolder holder = session.getClipboard();
|
||||||
if (holder.getTransform().isIdentity() && editSession.getSourceMask() == null) {
|
|
||||||
//FAWE start - use place
|
//FAWE start - use place
|
||||||
|
if (holder.getTransform().isIdentity() && sourceMask == null) {
|
||||||
place(actor, world, session, editSession, ignoreAirBlocks, atOrigin, selectPasted,
|
place(actor, world, session, editSession, ignoreAirBlocks, atOrigin, selectPasted,
|
||||||
pasteEntities, pasteBiomes
|
pasteEntities, pasteBiomes
|
||||||
);
|
);
|
||||||
//FAWE end
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
//FAWE end
|
||||||
Clipboard clipboard = holder.getClipboard();
|
Clipboard clipboard = holder.getClipboard();
|
||||||
Region region = clipboard.getRegion();
|
Region region = clipboard.getRegion();
|
||||||
List<Component> messages = Lists.newArrayList();
|
List<Component> messages = Lists.newArrayList();
|
||||||
|
Loading…
Reference in New Issue
Block a user