diff options
author | madmaxoft <github@xoft.cz> | 2014-07-21 15:19:48 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-21 17:40:43 +0200 |
commit | 93d29555e58df172bafba530afbc593c16ec66a3 (patch) | |
tree | 681174bef875ffd821d7d87602f2063251f25673 /src/ClientHandle.cpp | |
parent | Style: Normalized spaces after if, for and while. (diff) | |
download | cuberite-93d29555e58df172bafba530afbc593c16ec66a3.tar cuberite-93d29555e58df172bafba530afbc593c16ec66a3.tar.gz cuberite-93d29555e58df172bafba530afbc593c16ec66a3.tar.bz2 cuberite-93d29555e58df172bafba530afbc593c16ec66a3.tar.lz cuberite-93d29555e58df172bafba530afbc593c16ec66a3.tar.xz cuberite-93d29555e58df172bafba530afbc593c16ec66a3.tar.zst cuberite-93d29555e58df172bafba530afbc593c16ec66a3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index de4245b40..e4ad218a2 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1170,7 +1170,7 @@ void cClientHandle::HandleRightClick(int a_BlockX, int a_BlockY, int a_BlockZ, e { // Only compare ItemType, not meta (torches have different metas) // The -1 check is there because sometimes the client sends -1 instead of the held item - // ( http://forum.mc-server.org/showthread.php?tid=549&pid=4502#pid4502 ) + // Ref.: http://forum.mc-server.org/showthread.php?tid=549&pid=4502#pid4502 LOGWARN("Player %s tried to place a block that was not equipped (exp %d, got %d)", m_Username.c_str(), Equipped.m_ItemType, a_HeldItem.m_ItemType ); @@ -2562,7 +2562,7 @@ void cClientHandle::SendUpdateSign( -void cClientHandle::SendUseBed(const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ ) +void cClientHandle::SendUseBed(const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ) { m_Protocol->SendUseBed(a_Entity, a_BlockX, a_BlockY, a_BlockZ); } @@ -2624,7 +2624,7 @@ const AString & cClientHandle::GetUsername(void) const -void cClientHandle::SetUsername( const AString & a_Username ) +void cClientHandle::SetUsername( const AString & a_Username) { m_Username = a_Username; } |