Better messages
This commit is contained in:
1 parent
a5ffa3b709
commit
1eace44cce
1 file changed
+2
-2
@@ -699,7 +699,7 @@ public class CommandsHandler implements CommandExecutor {
|
||||
editor.setSender(sender);
|
||||
}
|
||||
if (!params.silent) {
|
||||
sender.sendMessage(ChatColor.GREEN.toString() + changes + " blocks found.");
|
||||
sender.sendMessage(ChatColor.GREEN.toString() + changes + " " + (params.bct == BlockChangeType.ENTITIES ? "entities" : "blocks") + " found.");
|
||||
}
|
||||
if (changes == 0) {
|
||||
if (!params.silent) {
|
||||
@@ -782,7 +782,7 @@ public class CommandsHandler implements CommandExecutor {
|
||||
}
|
||||
final int changes = editor.getSize();
|
||||
if (!params.silent) {
|
||||
sender.sendMessage(ChatColor.GREEN.toString() + changes + " blocks found.");
|
||||
sender.sendMessage(ChatColor.GREEN.toString() + changes + " " + (params.bct == BlockChangeType.ENTITIES ? "entities" : "blocks") + " found.");
|
||||
}
|
||||
if (changes == 0) {
|
||||
if (!params.silent) {
|
||||
|
||||
Reference in new issue
Block a user