3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2025-01-11 18:10:52 +01:00

Actually apply source mask when using //paste -m <mask> (#1810)

Dieser Commit ist enthalten in:
Jordan 2022-06-19 22:33:01 +01:00 committet von GitHub
Ursprung 84f6039f41
Commit 692a010c39
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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();