diff options
author | hallucino <d@t0t0.fr> | 2015-07-16 15:06:54 +0200 |
---|---|---|
committer | hallucino <d@t0t0.fr> | 2015-07-16 22:49:55 +0200 |
commit | 9c85ed5864d53057ebde6f756f89b400172e52b5 (patch) | |
tree | 2dda40bc792a22b420105e89c2f4d18a49c18fff /src/Mobs/Villager.cpp | |
parent | Merge pull request #2348 from bibo38/customname (diff) | |
download | cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.gz cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.bz2 cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.lz cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.xz cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.zst cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.zip |
Diffstat (limited to 'src/Mobs/Villager.cpp')
-rw-r--r-- | src/Mobs/Villager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Villager.cpp b/src/Mobs/Villager.cpp index e4953d546..9239575d0 100644 --- a/src/Mobs/Villager.cpp +++ b/src/Mobs/Villager.cpp @@ -41,7 +41,7 @@ bool cVillager::DoTakeDamage(TakeDamageInfo & a_TDI) if (a_TDI.DamageType == dtLightning) { Destroy(); - m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtWitch); + m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtWitch, false); return true; } return true; |