mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Show number of affected blocks in //set command (#1703)
* Show # of blocks affected in //set * Fix typo * fix: Add amount of blocks affected to strings.json Co-authored-by: NotMyFault <mc.cache@web.de>
This commit is contained in:
parent
27ee46047e
commit
3610af15e8
@ -116,7 +116,8 @@ public class RegionCommands {
|
||||
) {
|
||||
int affected = editSession.setBlocks(region, pattern);
|
||||
if (affected != 0) {
|
||||
actor.print(Caption.of("worldedit.set.done"));
|
||||
actor.print(Caption.of("worldedit.set.done", TextComponent.of(affected)));
|
||||
|
||||
}
|
||||
return affected;
|
||||
}
|
||||
|
@ -444,7 +444,7 @@
|
||||
"worldedit.rotate.rotated": "The clipboard copy has been rotated.",
|
||||
"worldedit.flip.flipped": "The clipboard copy has been flipped.",
|
||||
"worldedit.clearclipboard.cleared": "Clipboard cleared.",
|
||||
"worldedit.set.done": "Operation completed.",
|
||||
"worldedit.set.done": "Operation completed ({0}).",
|
||||
"worldedit.set.done.verbose": "Operation completed ({0}).",
|
||||
"worldedit.line.changed": "{0} blocks have been changed.",
|
||||
"worldedit.line.invalid-type": "//line only works with cuboid selections or convex polyhedral selections",
|
||||
|
Loading…
Reference in New Issue
Block a user