summaryrefslogtreecommitdiffstats
path: root/source/cPlugin_NewLua.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 21:20:31 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 21:20:31 +0200
commite1b5f0af046f2c4c05789adf33eef5404adba2c3 (patch)
tree6738e8d63067ef348113e0ae50433722ec952c38 /source/cPlugin_NewLua.h
parentAdded a world parameter to HOOK_CHUNK_GENERATING. (diff)
downloadcuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar.gz
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar.bz2
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar.lz
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar.xz
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar.zst
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.zip
Diffstat (limited to 'source/cPlugin_NewLua.h')
-rw-r--r--source/cPlugin_NewLua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cPlugin_NewLua.h b/source/cPlugin_NewLua.h
index ffcd107d3..fb1ff5bbe 100644
--- a/source/cPlugin_NewLua.h
+++ b/source/cPlugin_NewLua.h
@@ -42,6 +42,7 @@ public: //tolua_export
virtual bool OnCraftingNoRecipe(const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override;
virtual bool OnPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override;
virtual bool OnBlockToPickup (BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, const cPlayer * a_Player, const cItem & a_EquippedItem, cItems & a_Pickups);
+ virtual bool OnWeatherChanged (cWorld * a_World) override;
lua_State* GetLuaState() { return m_LuaState; }