diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-30 13:44:28 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-30 13:44:28 +0200 |
commit | 47d5395d24c6f209a758a689bff9a44f68d7397b (patch) | |
tree | a9a99b813b5badb1c5568d2441bf1092744a45eb /src/Bindings/Plugin.h | |
parent | Fixed the OnProjectileHitBlock hook not stopping projectiles. (diff) | |
download | cuberite-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/Plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h index df0bd4dcc..4144bc734 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) = 0; + virtual bool OnProjectileHitBlock (cProjectileEntity & a_Projectile, eBlockFace a_Face) = 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; |