diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-30 13:44:28 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-30 13:44:28 +0200 |
commit | 47d5395d24c6f209a758a689bff9a44f68d7397b (patch) | |
tree | a9a99b813b5badb1c5568d2441bf1092744a45eb /src/Entities/ProjectileEntity.cpp | |
parent | Fixed the OnProjectileHitBlock hook not stopping projectiles. (diff) | |
download | cuberite-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.cpp | 2 |
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; } |