summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Enderman.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-05-29 14:00:12 +0200
committerarchshift <admin@archshift.com>2014-06-18 05:34:20 +0200
commit806130a967685b0708b51afc576df09d70d47d79 (patch)
tree4b6cb642f88013ef399eb2e0468331cceec1fd14 /src/Mobs/Enderman.cpp
parentEnderman attacks a player if he's looking at him. (diff)
downloadcuberite-806130a967685b0708b51afc576df09d70d47d79.tar
cuberite-806130a967685b0708b51afc576df09d70d47d79.tar.gz
cuberite-806130a967685b0708b51afc576df09d70d47d79.tar.bz2
cuberite-806130a967685b0708b51afc576df09d70d47d79.tar.lz
cuberite-806130a967685b0708b51afc576df09d70d47d79.tar.xz
cuberite-806130a967685b0708b51afc576df09d70d47d79.tar.zst
cuberite-806130a967685b0708b51afc576df09d70d47d79.zip
Diffstat (limited to 'src/Mobs/Enderman.cpp')
-rw-r--r--src/Mobs/Enderman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Enderman.cpp b/src/Mobs/Enderman.cpp
index bd5ed85f1..40782d0b0 100644
--- a/src/Mobs/Enderman.cpp
+++ b/src/Mobs/Enderman.cpp
@@ -14,8 +14,8 @@ class cPlayerLookCheck :
{
public:
cPlayerLookCheck(Vector3d a_EndermanPos) :
- m_EndermanPos(a_EndermanPos),
- m_Player(NULL)
+ m_Player(NULL),
+ m_EndermanPos(a_EndermanPos)
{
}