summaryrefslogtreecommitdiffstats
path: root/src/Entities/ProjectileEntity.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2017-08-30 16:04:09 +0200
committerGitHub <noreply@github.com>2017-08-30 16:04:09 +0200
commitda0778dfaa6f82634b91cf981710ecc7809529ae (patch)
treea5f8c532a5f0ec50c1a2957395f2941cc070c226 /src/Entities/ProjectileEntity.cpp
parentProtocol Spawn Position Should Use LastSentPosition (#3929) (diff)
parentAdd TOLUA_EXPOSITION for readability (diff)
downloadcuberite-da0778dfaa6f82634b91cf981710ecc7809529ae.tar
cuberite-da0778dfaa6f82634b91cf981710ecc7809529ae.tar.gz
cuberite-da0778dfaa6f82634b91cf981710ecc7809529ae.tar.bz2
cuberite-da0778dfaa6f82634b91cf981710ecc7809529ae.tar.lz
cuberite-da0778dfaa6f82634b91cf981710ecc7809529ae.tar.xz
cuberite-da0778dfaa6f82634b91cf981710ecc7809529ae.tar.zst
cuberite-da0778dfaa6f82634b91cf981710ecc7809529ae.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 d1e101964..c2a1f782d 100644
--- a/src/Entities/ProjectileEntity.cpp
+++ b/src/Entities/ProjectileEntity.cpp
@@ -81,7 +81,7 @@ protected:
{
Vector3d Intersection = LineStart + m_Projectile->GetSpeed() * LineCoeff; // Point where projectile goes into the hit block
- if (cPluginManager::Get()->CallHookProjectileHitBlock(*m_Projectile, a_BlockX, a_BlockY, a_BlockZ, Face, &Intersection))
+ if (cPluginManager::Get()->CallHookProjectileHitBlock(*m_Projectile, a_BlockX, a_BlockY, a_BlockZ, Face, Intersection))
{
return false;
}