summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
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/Bindings/PluginManager.h
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 '')
-rw-r--r--src/Bindings/PluginManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h
index 512bc1351..89a2170df 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -206,7 +206,7 @@ public: // tolua_export
bool CallHookPluginsLoaded (void);
bool CallHookPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);
bool CallHookPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);
- bool CallHookProjectileHitBlock (cProjectileEntity & a_Projectile);
+ bool CallHookProjectileHitBlock (cProjectileEntity & a_Projectile, eBlockFace a_Face);
bool CallHookProjectileHitEntity (cProjectileEntity & a_Projectile, cEntity & a_HitEntity);
bool CallHookSpawnedEntity (cWorld & a_World, cEntity & a_Entity);
bool CallHookSpawnedMonster (cWorld & a_World, cMonster & a_Monster);