summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.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/PluginLua.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/PluginLua.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 59542d23a..e89baaf53 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -113,7 +113,7 @@ public:
virtual bool OnPluginsLoaded (void) override;
virtual bool OnPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override;
virtual bool OnPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override;
- virtual bool OnProjectileHitBlock (cProjectileEntity & a_Projectile) override;
+ virtual bool OnProjectileHitBlock (cProjectileEntity & a_Projectile, eBlockFace a_Face) override;
virtual bool OnProjectileHitEntity (cProjectileEntity & a_Projectile, cEntity & a_HitEntity) override;
virtual bool OnSpawnedEntity (cWorld & a_World, cEntity & a_Entity) override;
virtual bool OnSpawnedMonster (cWorld & a_World, cMonster & a_Monster) override;