summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-06-01 20:10:03 +0200
committerMattes D <github@xoft.cz>2014-06-01 20:10:03 +0200
commit61edb83ce54b3d50693b4c313f85602d889a9a0d (patch)
treeb367e6851fe03a062b49bd0bce8f9fddfafe964a /src/Bindings/PluginLua.h
parentabort does not take a parameter. (diff)
parentMade a_BlockHitPos a reference (diff)
downloadcuberite-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 'src/Bindings/PluginLua.h')
-rw-r--r--src/Bindings/PluginLua.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 3357dd87b..598e031c0 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) override;
+ virtual bool OnProjectileHitBlock (cProjectileEntity & a_Projectile, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Face, const Vector3d & 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;