summaryrefslogtreecommitdiffstats
path: root/src/Entities/EnderCrystal.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-17 10:12:22 +0200
committerMattes D <github@xoft.cz>2014-07-17 10:12:22 +0200
commit98244e96d1a810bea24a6c8463f9beb535ad2daf (patch)
treea57dd6f82ad46ee02811f4f77bcd56a50c5b8865 /src/Entities/EnderCrystal.cpp
parentAnother fix for excessive food drain (diff)
parentResolved backwards compatibility issues (diff)
downloadcuberite-98244e96d1a810bea24a6c8463f9beb535ad2daf.tar
cuberite-98244e96d1a810bea24a6c8463f9beb535ad2daf.tar.gz
cuberite-98244e96d1a810bea24a6c8463f9beb535ad2daf.tar.bz2
cuberite-98244e96d1a810bea24a6c8463f9beb535ad2daf.tar.lz
cuberite-98244e96d1a810bea24a6c8463f9beb535ad2daf.tar.xz
cuberite-98244e96d1a810bea24a6c8463f9beb535ad2daf.tar.zst
cuberite-98244e96d1a810bea24a6c8463f9beb535ad2daf.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/EnderCrystal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/EnderCrystal.cpp b/src/Entities/EnderCrystal.cpp
index a640b236c..bf86a6c42 100644
--- a/src/Entities/EnderCrystal.cpp
+++ b/src/Entities/EnderCrystal.cpp
@@ -42,9 +42,9 @@ void cEnderCrystal::Tick(float a_Dt, cChunk & a_Chunk)
-void cEnderCrystal::KilledBy(cEntity * a_Killer)
+void cEnderCrystal::KilledBy(TakeDamageInfo & a_TDI)
{
- super::KilledBy(a_Killer);
+ super::KilledBy(a_TDI);
m_World->DoExplosionAt(6.0, GetPosX(), GetPosY(), GetPosZ(), true, esEnderCrystal, this);