summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-29 16:00:45 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-29 16:00:45 +0100
commitec4638a228edcf4c745088838e972ea07edc7cba (patch)
tree280182543c9788b7bc19bcc47c1a7ed2dc4ba3db /src/Bindings/PluginLua.h
parentFixed error when the hook gets called. (diff)
downloadcuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar.gz
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar.bz2
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar.lz
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar.xz
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar.zst
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/PluginLua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 1533b1a66..59542d23a 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -113,6 +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 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;