mirror of
https://github.com/YouHaveTrouble/BlockEdit.git
synced 2026-06-29 13:36:19 +00:00
add paste command feedback
This commit is contained in:
@@ -40,6 +40,7 @@ public class PasteCommand extends Command {
|
|||||||
|
|
||||||
Selection selection = Selection.fromClipboard(absoluteBlocks.keySet(), player.getWorld());
|
Selection selection = Selection.fromClipboard(absoluteBlocks.keySet(), player.getWorld());
|
||||||
BlockEditAPI.runOperation(selection, 1, new PasteOperation(absoluteBlocks));
|
BlockEditAPI.runOperation(selection, 1, new PasteOperation(absoluteBlocks));
|
||||||
|
player.sendMessage(Component.text("Pasting clipboard..."));
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user