summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-04 23:25:33 +0100
committerMattes D <github@xoft.cz>2014-12-04 23:25:33 +0100
commitb7820256a74964d28f69ac48a4f92b7a9f864ca4 (patch)
treeb20b7406d38eefde5e942148992d2072b42c5584 /src/Bindings/Plugin.h
parentMerge pull request #1638 from p-mcgowan/cactiNoLongerSpawnOnBeaches (diff)
parentFixed the CRAFTING_NO_RECIPE hook call. (diff)
downloadcuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar.gz
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar.bz2
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar.lz
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar.xz
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.tar.zst
cuberite-b7820256a74964d28f69ac48a4f92b7a9f864ca4.zip
Diffstat (limited to 'src/Bindings/Plugin.h')
-rw-r--r--src/Bindings/Plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index 8cc9ff0cd..08677553c 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -54,7 +54,7 @@ public:
virtual bool OnChunkUnloaded (cWorld & a_World, int a_ChunkX, int a_ChunkZ) = 0;
virtual bool OnChunkUnloading (cWorld & a_World, int a_ChunkX, int a_ChunkZ) = 0;
virtual bool OnCollectingPickup (cPlayer & a_Player, cPickup & a_Pickup) = 0;
- virtual bool OnCraftingNoRecipe (cPlayer & a_Player, cCraftingGrid & a_Grid, cCraftingRecipe * a_Recipe) = 0;
+ virtual bool OnCraftingNoRecipe (cPlayer & a_Player, cCraftingGrid & a_Grid, cCraftingRecipe & a_Recipe) = 0;
virtual bool OnDisconnect (cClientHandle & a_Client, const AString & a_Reason) = 0;
virtual bool OnEntityAddEffect (cEntity & a_Entity, int a_EffectType, int a_EffectDurationTicks, int a_EffectIntensity, double a_DistanceModifier) = 0;
virtual bool OnExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split) = 0;