Change to messageSearchOnlineResult in UtilPlayer & StringBuilder optimization
This commit is contained in:
parent
6fdc04367e
commit
0ad46efe12
@ -378,15 +378,13 @@ public class UtilPlayer
|
||||
return null;
|
||||
|
||||
// Inform
|
||||
message(caller,
|
||||
F.main(collName + " Search", "" + C.mCount + matchList.size() + C.mBody + " matches for [" + C.mElem + player
|
||||
+ C.mBody + "]."));
|
||||
UtilPlayerBase.messageSearchOnlineResult(caller, player, 0);
|
||||
|
||||
if (matchList.size() > 0)
|
||||
{
|
||||
String matchString = "";
|
||||
StringBuilder matchString = new StringBuilder();
|
||||
for (String cur : matchList)
|
||||
matchString += cur + " ";
|
||||
matchString.append(cur).append(" ");
|
||||
|
||||
message(caller,
|
||||
F.main(collName + " Search", "" + C.mBody + " Matches [" + C.mElem + matchString + C.mBody + "]."));
|
||||
|
Loading…
Reference in New Issue
Block a user