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