diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-01 21:49:34 +0100 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-03 21:50:17 +0100 |
commit | 4aade202e006738a0baf4c3190cff8ce6b91003c (patch) | |
tree | e83b2297221f3f74360304cbb4671fa8a7079722 /src/Mobs/Enderman.cpp | |
parent | Merge pull request #2941 from LogicParrot/chunkBug2 (diff) | |
download | cuberite-4aade202e006738a0baf4c3190cff8ce6b91003c.tar cuberite-4aade202e006738a0baf4c3190cff8ce6b91003c.tar.gz cuberite-4aade202e006738a0baf4c3190cff8ce6b91003c.tar.bz2 cuberite-4aade202e006738a0baf4c3190cff8ce6b91003c.tar.lz cuberite-4aade202e006738a0baf4c3190cff8ce6b91003c.tar.xz cuberite-4aade202e006738a0baf4c3190cff8ce6b91003c.tar.zst cuberite-4aade202e006738a0baf4c3190cff8ce6b91003c.zip |
Diffstat (limited to 'src/Mobs/Enderman.cpp')
-rw-r--r-- | src/Mobs/Enderman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Enderman.cpp b/src/Mobs/Enderman.cpp index 4a30a0acd..ccfd44110 100644 --- a/src/Mobs/Enderman.cpp +++ b/src/Mobs/Enderman.cpp @@ -104,7 +104,7 @@ void cEnderman::GetDrops(cItems & a_Drops, cEntity * a_Killer) void cEnderman::CheckEventSeePlayer(cChunk & a_Chunk) { - if (m_Target != nullptr) + if (GetTarget() != nullptr) { return; } |