summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-30 14:04:44 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-30 14:04:44 +0200
commit66f1bb7b677324dd59265b7b0776490caa661bcc (patch)
tree41fbf36434266a765dc14d58f20ae3fe7715b272 /src/Bindings/PluginLua.h
parentAdded a blockface parameter to the OnProjectileHitBlock hook. (diff)
downloadcuberite-66f1bb7b677324dd59265b7b0776490caa661bcc.tar
cuberite-66f1bb7b677324dd59265b7b0776490caa661bcc.tar.gz
cuberite-66f1bb7b677324dd59265b7b0776490caa661bcc.tar.bz2
cuberite-66f1bb7b677324dd59265b7b0776490caa661bcc.tar.lz
cuberite-66f1bb7b677324dd59265b7b0776490caa661bcc.tar.xz
cuberite-66f1bb7b677324dd59265b7b0776490caa661bcc.tar.zst
cuberite-66f1bb7b677324dd59265b7b0776490caa661bcc.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 e89baaf53..2e757f9dd 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, eBlockFace a_Face) override;
+ virtual bool OnProjectileHitBlock (cProjectileEntity & a_Projectile, eBlockFace a_Face, Vector3d * a_BlockHitPos) 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;