diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-28 21:45:05 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-28 21:45:05 +0200 |
commit | 5e66d9aeabcb759319c1045680443e72f0c1d75b (patch) | |
tree | f8bcb41955b023a0bc47d8df949335917632ec81 /src | |
parent | Implemented tripwire(s) (hooks) (diff) | |
download | cuberite-5e66d9aeabcb759319c1045680443e72f0c1d75b.tar cuberite-5e66d9aeabcb759319c1045680443e72f0c1d75b.tar.gz cuberite-5e66d9aeabcb759319c1045680443e72f0c1d75b.tar.bz2 cuberite-5e66d9aeabcb759319c1045680443e72f0c1d75b.tar.lz cuberite-5e66d9aeabcb759319c1045680443e72f0c1d75b.tar.xz cuberite-5e66d9aeabcb759319c1045680443e72f0c1d75b.tar.zst cuberite-5e66d9aeabcb759319c1045680443e72f0c1d75b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 16cfe1aec..e7b876b24 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1085,12 +1085,7 @@ void cClientHandle::HandleBlockDigFinished(int a_BlockX, int a_BlockY, int a_Blo void cClientHandle::FinishDigAnimation() { - if ( - !m_HasStartedDigging || // Hasn't received the DIG_STARTED packet - (m_LastDigBlockX == -1) || - (m_LastDigBlockY == -1) || - (m_LastDigBlockZ == -1) - ) + if (!m_HasStartedDigging) // Hasn't received the DIG_STARTED packet { return; } |