summaryrefslogtreecommitdiffstats
path: root/src/Entities/ProjectileEntity.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-30 13:44:28 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-30 13:44:28 +0200
commit47d5395d24c6f209a758a689bff9a44f68d7397b (patch)
treea9a99b813b5badb1c5568d2441bf1092744a45eb /src/Entities/ProjectileEntity.cpp
parentFixed the OnProjectileHitBlock hook not stopping projectiles. (diff)
downloadcuberite-47d5395d24c6f209a758a689bff9a44f68d7397b.tar
cuberite-47d5395d24c6f209a758a689bff9a44f68d7397b.tar.gz
cuberite-47d5395d24c6f209a758a689bff9a44f68d7397b.tar.bz2
cuberite-47d5395d24c6f209a758a689bff9a44f68d7397b.tar.lz
cuberite-47d5395d24c6f209a758a689bff9a44f68d7397b.tar.xz
cuberite-47d5395d24c6f209a758a689bff9a44f68d7397b.tar.zst
cuberite-47d5395d24c6f209a758a689bff9a44f68d7397b.zip
Diffstat (limited to 'src/Entities/ProjectileEntity.cpp')
-rw-r--r--src/Entities/ProjectileEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ProjectileEntity.cpp b/src/Entities/ProjectileEntity.cpp
index a9735a53c..37964d102 100644
--- a/src/Entities/ProjectileEntity.cpp
+++ b/src/Entities/ProjectileEntity.cpp
@@ -67,7 +67,7 @@ protected:
eBlockFace Face;
if (bb.CalcLineIntersection(Line1, Line2, LineCoeff, Face))
{
- if (cPluginManager::Get()->CallHookProjectileHitBlock(*m_Projectile))
+ if (cPluginManager::Get()->CallHookProjectileHitBlock(*m_Projectile, Face))
{
return false;
}