diff options
author | Mattes D <github@xoft.cz> | 2014-06-01 20:10:03 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-06-01 20:10:03 +0200 |
commit | 61edb83ce54b3d50693b4c313f85602d889a9a0d (patch) | |
tree | b367e6851fe03a062b49bd0bce8f9fddfafe964a /src/Bindings/Plugin.h | |
parent | abort does not take a parameter. (diff) | |
parent | Made a_BlockHitPos a reference (diff) | |
download | cuberite-61edb83ce54b3d50693b4c313f85602d889a9a0d.tar cuberite-61edb83ce54b3d50693b4c313f85602d889a9a0d.tar.gz cuberite-61edb83ce54b3d50693b4c313f85602d889a9a0d.tar.bz2 cuberite-61edb83ce54b3d50693b4c313f85602d889a9a0d.tar.lz cuberite-61edb83ce54b3d50693b4c313f85602d889a9a0d.tar.xz cuberite-61edb83ce54b3d50693b4c313f85602d889a9a0d.tar.zst cuberite-61edb83ce54b3d50693b4c313f85602d889a9a0d.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 0bd9270c4..c6461c861 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, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Face, const 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; |