Skip to content

Commit 0482b23

Browse files
committed
Fixed: Notify that player search has begun
1 parent a0f71b0 commit 0482b23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/RoyalCommands/src/main/java/org/royaldev/royalcommands/rcommands/CmdPlayerSearch.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public boolean runCommand(final CommandSender cs, final Command cmd, final Strin
3939
@Override
4040
public void run() {
4141
int found = 0;
42+
cs.sendMessage(MessageColor.POSITIVE + "Search for " + MessageColor.NEUTRAL + search + MessageColor.POSITIVE + " started. This may take a while.");
4243
for (final OfflinePlayer op : ops) {
4344
if (op == null || op.getName() == null) continue;
4445
if (!op.getName().toLowerCase().contains(search.toLowerCase())) continue;

0 commit comments

Comments
 (0)