Fix WorldCopyClipboard

This commit is contained in:
Jesse Boyd 2018-06-19 07:34:22 +10:00
parent 9144d37c25
commit c4d373549a
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}