diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-13 21:25:53 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-13 21:25:53 +0200 |
commit | 8af0df4309c8caa8c08d5cd9cb6008b9a5f99054 (patch) | |
tree | c588dbe75175dc3f19f9c6da42133621f8cafc1e /source/cWorld.cpp | |
parent | fixed /tp command (diff) | |
download | cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar.gz cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar.bz2 cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar.lz cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar.xz cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.tar.zst cuberite-8af0df4309c8caa8c08d5cd9cb6008b9a5f99054.zip |
Diffstat (limited to 'source/cWorld.cpp')
-rw-r--r-- | source/cWorld.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index f904d8ceb..9531e23c3 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -1534,7 +1534,7 @@ bool cWorld::DoWithPlayer(const AString & a_PlayerName, cPlayerListCallback & a_ cCSLock Lock(m_CSPlayers); for (cPlayerList::iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr) { - if (iequals((*itr)->GetName(), a_PlayerName)) + if (NoCaseCompare((*itr)->GetName(), a_PlayerName) == 0) { a_Callback.Item(*itr); return true; |