Make matchPlayer return only the exact-matched player, if there is one.
Dieser Commit ist enthalten in:
Ursprung
2e0413558f
Commit
1edd1fa0ca
@ -90,6 +90,7 @@ public final class CraftServer implements Server {
|
|||||||
|
|
||||||
if (partialName.equalsIgnoreCase(iterPlayerName)) {
|
if (partialName.equalsIgnoreCase(iterPlayerName)) {
|
||||||
// Exact match
|
// Exact match
|
||||||
|
matchedPlayers.clear();
|
||||||
matchedPlayers.add(iterPlayer);
|
matchedPlayers.add(iterPlayer);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren