summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-29 17:05:24 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-29 17:05:24 +0100
commit98a12127ceaa0834bfea66fa6f9e381b1f8f4357 (patch)
treec969811296e46545d1f1019792616a835b8c3962
parentDocumented both hooks. (diff)
downloadcuberite-98a12127ceaa0834bfea66fa6f9e381b1f8f4357.tar
cuberite-98a12127ceaa0834bfea66fa6f9e381b1f8f4357.tar.gz
cuberite-98a12127ceaa0834bfea66fa6f9e381b1f8f4357.tar.bz2
cuberite-98a12127ceaa0834bfea66fa6f9e381b1f8f4357.tar.lz
cuberite-98a12127ceaa0834bfea66fa6f9e381b1f8f4357.tar.xz
cuberite-98a12127ceaa0834bfea66fa6f9e381b1f8f4357.tar.zst
cuberite-98a12127ceaa0834bfea66fa6f9e381b1f8f4357.zip
-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 b724c9c55..a9735a53c 100644
--- a/src/Entities/ProjectileEntity.cpp
+++ b/src/Entities/ProjectileEntity.cpp
@@ -69,7 +69,7 @@ protected:
{
if (cPluginManager::Get()->CallHookProjectileHitBlock(*m_Projectile))
{
- return true;
+ return false;
}
Vector3d Intersection = Line1 + m_Projectile->GetSpeed() * LineCoeff;