diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-30 17:21:13 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-30 17:21:13 +0200 |
commit | 36e1e57d038eda0c183f616f2b45d2ae4733e27c (patch) | |
tree | fb5096339c5437e7fc435b7d730c29e36d5f010c /src/Bindings/PluginLua.h | |
parent | Added a BlockHitPos parameter to OnProjectileHitBlock (diff) | |
download | cuberite-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/PluginLua.h')
-rw-r--r-- | src/Bindings/PluginLua.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h index 2e757f9dd..627aa3cc8 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, Vector3d * a_BlockHitPos) override; + virtual bool OnProjectileHitBlock (cProjectileEntity & a_Projectile, eBlockFace a_Face, const Vector3i * 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; |