From c4d373549ac91d6842c4b2ec82fb24398c152c8c Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Tue, 19 Jun 2018 07:34:22 +1000 Subject: [PATCH] Fix WorldCopyClipboard --- .../com/boydti/fawe/object/clipboard/WorldCopyClipboard.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/boydti/fawe/object/clipboard/WorldCopyClipboard.java b/core/src/main/java/com/boydti/fawe/object/clipboard/WorldCopyClipboard.java index ae4be687..80ca791f 100644 --- a/core/src/main/java/com/boydti/fawe/object/clipboard/WorldCopyClipboard.java +++ b/core/src/main/java/com/boydti/fawe/object/clipboard/WorldCopyClipboard.java @@ -113,9 +113,10 @@ public class WorldCopyClipboard extends ReadOnlyClipboard { values.put("y", new IntTag(y)); values.put("z", new IntTag(z)); } - task.run(x, y, z, block); + if (block.getId() != 0) + task.run(x, y, z, block); } else { - task.run(x, y, z, EditSession.nullBlock); +// task.run(x, y, z, EditSession.nullBlock); } return true; }