summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-30 17:21:13 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-30 17:21:13 +0200
commit36e1e57d038eda0c183f616f2b45d2ae4733e27c (patch)
treefb5096339c5437e7fc435b7d730c29e36d5f010c /src/Bindings/Plugin.h
parentAdded a BlockHitPos parameter to OnProjectileHitBlock (diff)
downloadcuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar.gz
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar.bz2
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar.lz
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar.xz
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.tar.zst
cuberite-36e1e57d038eda0c183f616f2b45d2ae4733e27c.zip
Diffstat (limited to 'src/Bindings/Plugin.h')
-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 9c2b59609..a6f91382c 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, Vector3d * a_BlockHitPos) = 0;
+ virtual bool OnProjectileHitBlock (cProjectileEntity & a_Projectile, eBlockFace a_Face, const Vector3i * 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;