diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-14 21:20:31 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-14 21:20:31 +0200 |
commit | e1b5f0af046f2c4c05789adf33eef5404adba2c3 (patch) | |
tree | 6738e8d63067ef348113e0ae50433722ec952c38 /source/cPlugin.h | |
parent | Added a world parameter to HOOK_CHUNK_GENERATING. (diff) | |
download | cuberite-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.h')
-rw-r--r-- | source/cPlugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cPlugin.h b/source/cPlugin.h index 40f2b302e..41618e47e 100644 --- a/source/cPlugin.h +++ b/source/cPlugin.h @@ -65,6 +65,7 @@ public: virtual bool OnCraftingNoRecipe(const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) {return false; } virtual bool OnPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) {return false; } virtual bool OnBlockToPickup (BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, const cPlayer * a_Player, const cItem & a_EquippedItem, cItems & a_Pickups) {return false; } + virtual bool OnWeatherChanged (cWorld * a_World) {return false; } // Accessors const char* GetName() const { return m_Name.c_str(); } |