Change to messageSearchOnlineResult in UtilPlayer & StringBuilder optimization

This commit is contained in:
ArcticZeroo 2017-10-24 17:35:34 -04:00 committed by Alexander Meech
parent 6fdc04367e
commit 0ad46efe12

View File

@ -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 + "]."));