mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +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 {
|
||||
|
||||
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,
|
||||
pasteEntities, pasteBiomes
|
||||
);
|
||||
//FAWE end
|
||||
return;
|
||||
}
|
||||
//FAWE end
|
||||
Clipboard clipboard = holder.getClipboard();
|
||||
Region region = clipboard.getRegion();
|
||||
List<Component> messages = Lists.newArrayList();
|
||||
|
Loading…
Reference in New Issue
Block a user