mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user