diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-05 21:42:20 +0100 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-05 21:42:20 +0100 |
commit | 87a31e3a2d18c6c774c4c9c2b3286e734c0707f9 (patch) | |
tree | e484a653ae464664ef85f7e00a30e3d1f3b3029b /src/World.cpp | |
parent | Merge pull request #2954 from kevinr/implement-acacia-block-height (diff) | |
parent | Tab completion for player names now case insensitive. (diff) | |
download | cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar.gz cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar.bz2 cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar.lz cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar.xz cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar.zst cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index 5b6a215d8..127621069 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -3583,7 +3583,7 @@ void cWorld::TabCompleteUserName(const AString & a_Text, AStringVector & a_Resul PlayerName = (*itr)->GetCustomName(); } - AString::size_type Found = PlayerName.find(LastWord); // Try to find last word in playername + AString::size_type Found = StrToLower(PlayerName).find(StrToLower(LastWord)); // Try to find last word in playername if (Found == AString::npos) { continue; // No match |