summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-30 17:21:13 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-30 17:21:13 +0200
commit36e1e57d038eda0c183f616f2b45d2ae4733e27c (patch)
treefb5096339c5437e7fc435b7d730c29e36d5f010c /src/Bindings/PluginManager.cpp
parentAdded a BlockHitPos parameter to OnProjectileHitBlock (diff)
downloadcuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar.gz
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar.bz2
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar.lz
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar.xz
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar.zst
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.zip
Diffstat (limited to 'src/Bindings/PluginManager.cpp')
-rw-r--r--src/Bindings/PluginManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp
index 0aa52e97e..a5c904a77 100644
--- a/src/Bindings/PluginManager.cpp
+++ b/src/Bindings/PluginManager.cpp
@@ -1154,7 +1154,7 @@ bool cPluginManager::CallHookPreCrafting(const cPlayer * a_Player, const cCrafti
-bool cPluginManager::CallHookProjectileHitBlock(cProjectileEntity & a_Projectile, eBlockFace a_Face, Vector3d * a_BlockHitPos)
+bool cPluginManager::CallHookProjectileHitBlock(cProjectileEntity & a_Projectile, eBlockFace a_Face, const Vector3i * a_BlockHitPos)
{
HookMap::iterator Plugins = m_Hooks.find(HOOK_PROJECTILE_HIT_BLOCK);
if (Plugins == m_Hooks.end())