diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-04-18 21:20:00 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-04-18 21:20:00 +0200 |
commit | 19358fc7d5cfde19d47a910adbf8a1d67dd48f5f (patch) | |
tree | e698c1a606ff33b649c509c0b92e9a4264d91543 /src | |
parent | Merge branch 'master' of https://github.com/mc-server/MCServer (diff) | |
download | cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar.gz cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar.bz2 cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar.lz cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar.xz cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar.zst cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 9df5d5e3b..248e88f5d 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -540,7 +540,7 @@ void cMonster::KilledBy(cEntity * a_Killer) break; } } - if ((a_Killer != NULL) && (!IsBaby()) + if ((a_Killer != NULL) && (!IsBaby())) { m_World->SpawnExperienceOrb(GetPosX(), GetPosY(), GetPosZ(), Reward); } |